- Do platform test via tox (making sure statement coverage is at 100%):
tox -r
flake8 src
-
Change setup.cfg version to the new version number.
-
Create the release commit:
git commit -a -m "release <VERSION>"
- Create a release tag:
git tag -a v<VERSION> -m "<VERSION> release"
- Release to PyPI:
git checkout tags/v<VERSION>
python setup.py clean --all
rm dist/*
python -m build -n
twine upload dist/*
- Push to github:
git push origin
git push --tags origin
-
Append
.dev0
to the version number insetup.cfg
for the new development cycle. -
Commit/push the version change:
git commit -a -m "bump version for development"
git push origin