copier-python 0.2.0__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. {copier_python-0.2.0 → copier_python-0.2.2}/PKG-INFO +1 -1
  2. {copier_python-0.2.0 → copier_python-0.2.2}/docs/development/updates.md +2 -8
  3. {copier_python-0.2.0 → copier_python-0.2.2}/docs/development/workflow.md +14 -1
  4. {copier_python-0.2.0 → copier_python-0.2.2}/docs/releasing.md +1 -0
  5. {copier_python-0.2.0 → copier_python-0.2.2}/tests/__snapshots__/test_docs.ambr +2 -0
  6. {copier_python-0.2.0 → copier_python-0.2.2}/tests/__snapshots__/test_workflows.ambr +0 -20
  7. {copier_python-0.2.0 → copier_python-0.2.2}/.gitignore +0 -0
  8. {copier_python-0.2.0 → copier_python-0.2.2}/CONTRIBUTING.md +0 -0
  9. {copier_python-0.2.0 → copier_python-0.2.2}/LICENSE +0 -0
  10. {copier_python-0.2.0 → copier_python-0.2.2}/README.md +0 -0
  11. {copier_python-0.2.0 → copier_python-0.2.2}/copier_python/__init__.py +0 -0
  12. {copier_python-0.2.0 → copier_python-0.2.2}/copier_python/py.typed +0 -0
  13. {copier_python-0.2.0 → copier_python-0.2.2}/docs/contributing.md +0 -0
  14. {copier_python-0.2.0 → copier_python-0.2.2}/docs/development/requirements.md +0 -0
  15. {copier_python-0.2.0 → copier_python-0.2.2}/docs/index.md +0 -0
  16. {copier_python-0.2.0 → copier_python-0.2.2}/docs/license.md +0 -0
  17. {copier_python-0.2.0 → copier_python-0.2.2}/docs/project-creation.md +0 -0
  18. {copier_python-0.2.0 → copier_python-0.2.2}/docs/project-development.md +0 -0
  19. {copier_python-0.2.0 → copier_python-0.2.2}/docs/project-release.md +0 -0
  20. {copier_python-0.2.0 → copier_python-0.2.2}/docs/project-setup.md +0 -0
  21. {copier_python-0.2.0 → copier_python-0.2.2}/docs/project-updates.md +0 -0
  22. {copier_python-0.2.0 → copier_python-0.2.2}/docs/requirements.md +0 -0
  23. {copier_python-0.2.0 → copier_python-0.2.2}/docs/setup.md +0 -0
  24. {copier_python-0.2.0 → copier_python-0.2.2}/pyproject.toml +0 -0
  25. {copier_python-0.2.0 → copier_python-0.2.2}/tests/__init__.py +0 -0
  26. {copier_python-0.2.0 → copier_python-0.2.2}/tests/__snapshots__/test_compose.ambr +0 -0
  27. {copier_python-0.2.0 → copier_python-0.2.2}/tests/__snapshots__/test_contributing.ambr +0 -0
  28. {copier_python-0.2.0 → copier_python-0.2.2}/tests/__snapshots__/test_license.ambr +0 -0
  29. {copier_python-0.2.0 → copier_python-0.2.2}/tests/__snapshots__/test_pyproject.ambr +0 -0
  30. {copier_python-0.2.0 → copier_python-0.2.2}/tests/__snapshots__/test_readme.ambr +0 -0
  31. {copier_python-0.2.0 → copier_python-0.2.2}/tests/__snapshots__/test_zensical.ambr +0 -0
  32. {copier_python-0.2.0 → copier_python-0.2.2}/tests/conftest.py +0 -0
  33. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_compose.py +0 -0
  34. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_contributing.py +0 -0
  35. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_docs.py +0 -0
  36. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_license.py +0 -0
  37. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_pyproject.py +0 -0
  38. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_readme.py +0 -0
  39. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_structure.py +0 -0
  40. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_template.py +0 -0
  41. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_version.py +0 -0
  42. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_workflows.py +0 -0
  43. {copier_python-0.2.0 → copier_python-0.2.2}/tests/test_zensical.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: copier-python
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Copier template for Python projects with modern tooling
5
5
  Project-URL: Homepage, https://smkent.github.io/copier-python
6
6
  Project-URL: Repository, https://github.com/smkent/copier-python
@@ -5,10 +5,8 @@ icon: lucide/git-merge
5
5
 
6
6
  # Applying copier-python template updates
7
7
 
8
- Copier can update your project with template changes that have occurred since
9
- the project was created.
10
-
11
- To apply updates, simply run in your project directory:
8
+ **copier-python is managed by its own template!**
9
+ When the template changes, copier-python itself can be updated with:
12
10
 
13
11
  ```sh
14
12
  copier update
@@ -17,10 +15,6 @@ copier update
17
15
  This will repeat the setup prompts, in case any prompts have been added or
18
16
  changed.
19
17
 
20
- !!! tip
21
- To change template-provided features in your project, simply change your
22
- answers in the update prompts.
23
-
24
18
  To apply updates without being prompted (reusing all previous answers), run:
25
19
 
26
20
  ```sh
@@ -3,7 +3,7 @@ title: Development workflow
3
3
  icon: lucide/braces
4
4
  ---
5
5
 
6
- # Project development workflow
6
+ # copier-python development workflow
7
7
 
8
8
  ## Cloning the repository
9
9
 
@@ -15,6 +15,19 @@ cd copier-python
15
15
  poe setup # Enables git hooks
16
16
  ```
17
17
 
18
+ ## Local template usage
19
+
20
+ While making development changes to copier-python, the local template can be
21
+ used to create projects. To do so, run `copier copy` with the `-r`/`--vcs-ref`
22
+ argument:
23
+
24
+ ```sh
25
+ copier copy -r HEAD path/to/copier-python/clone/ path/to/new/project/
26
+ ```
27
+
28
+ This will render the new project from the current template state including
29
+ uncommitted changes.
30
+
18
31
  ## Development tools
19
32
 
20
33
  * `poe lint`: Run formatters and static checks
@@ -29,3 +29,4 @@ git push --tags
29
29
  [github-release-badge]: https://img.shields.io/github/v/release/smkent/copier-python
30
30
  [pypi-badge]: https://img.shields.io/pypi/v/copier-python
31
31
  [pypi-project]: https://pypi.org/project/copier-python/
32
+ [semver]: https://semver.org/
@@ -516,6 +516,7 @@
516
516
  [github-release-badge]: https://img.shields.io/github/v/release/ness/PKFire
517
517
  [github-release-latest]: https://github.com/ness/PKFire/releases/latest
518
518
  [github-releases]: https://github.com/ness/PKFire/releases
519
+ [semver]: https://semver.org/
519
520
 
520
521
  '''
521
522
  # ---
@@ -619,6 +620,7 @@
619
620
  [github-releases]: https://github.com/ness/PKFire/releases
620
621
  [pypi-badge]: https://img.shields.io/pypi/v/PKFire
621
622
  [pypi-project]: https://pypi.org/project/PKFire/
623
+ [semver]: https://semver.org/
622
624
 
623
625
  '''
624
626
  # ---
@@ -30,11 +30,6 @@
30
30
  - name: 💾 Check out repository
31
31
  uses: actions/checkout@v6
32
32
 
33
- - name: 🪪 Configure git identity for tests
34
- run: |
35
- git config --global user.name "github-actions[bot]"
36
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
37
-
38
33
  - name: 🦀 Set up Python project with uv
39
34
  uses: astral-sh/setup-uv@v7
40
35
  with:
@@ -130,11 +125,6 @@
130
125
  - name: 💾 Check out repository
131
126
  uses: actions/checkout@v6
132
127
 
133
- - name: 🪪 Configure git identity for tests
134
- run: |
135
- git config --global user.name "github-actions[bot]"
136
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
137
-
138
128
  - name: 🦀 Set up Python project with uv
139
129
  uses: astral-sh/setup-uv@v7
140
130
  with:
@@ -220,11 +210,6 @@
220
210
  - name: 💾 Check out repository
221
211
  uses: actions/checkout@v6
222
212
 
223
- - name: 🪪 Configure git identity for tests
224
- run: |
225
- git config --global user.name "github-actions[bot]"
226
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
227
-
228
213
  - name: 🦀 Set up Python project with uv
229
214
  uses: astral-sh/setup-uv@v7
230
215
  with:
@@ -300,11 +285,6 @@
300
285
  - name: 💾 Check out repository
301
286
  uses: actions/checkout@v6
302
287
 
303
- - name: 🪪 Configure git identity for tests
304
- run: |
305
- git config --global user.name "github-actions[bot]"
306
- git config --global user.email "github-actions[bot]@users.noreply.github.com"
307
-
308
288
  - name: 🦀 Set up Python project with uv
309
289
  uses: astral-sh/setup-uv@v7
310
290
  with:
File without changes
File without changes
File without changes