File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -24,22 +24,22 @@ All tasks will be inserted into the `pydra.tasks.<yourtaskpackagename>` namespac
24
24
25
25
# Features of this template
26
26
27
- ## Versioneer
27
+ ## Tag-based versioning
28
28
29
- The [ versioneer ] ( https://github.com/warner/python-versioneer ) tool allows for versioning based
29
+ The [ setuptools_scm ] ( https://github.com/pypa/setuptools_scm ) tool allows for versioning based
30
30
on the most recent git tag. The release process can thus be:
31
31
32
32
``` Shell
33
33
git tag -a 1.0.0
34
- python setup.py sdist bdist_wheel
34
+ python -m build
35
35
twine upload dist/*
36
36
```
37
37
38
38
Note that uploading to PyPI is done via [ Continuous integration] ( #continuous-integration ) ) when
39
39
a tag is pushed to the repository, so only the first step needs to be donne manually.
40
40
41
41
Note also that we assume tags will be version numbers and not be prefixed with ` v ` or some other
42
- string. See Versioneer documentation for alternative configurations.
42
+ string. See ` setuptools_scm ` documentation for alternative configurations.
43
43
44
44
## Namespace packages
45
45
@@ -92,7 +92,7 @@ task packages.
92
92
## For developers
93
93
94
94
Install repo in developer mode from the source directory. It is also useful to
95
- install pre-commit to take care of styling via black:
95
+ install pre-commit to take care of styling via [ black] ( https://black.readthedocs.io/ ) :
96
96
97
97
```
98
98
pip install -e .[dev]
You can’t perform that action at this time.
0 commit comments