Note! Releases are handled by GitHub Actions. This document is for reference only.
Update changelog.
Bump version number in setup.py
.
Commit, push and merge the above changes.
Make sure wheel
is installed.
Run:
python setup.py sdist bdist_wheel
This step requires an account on PyPI (and TestPyPI) and needed privileges for the project there.
Make sure twine
is installed.
Upload to Test PyPI:
python -m twine upload --repository testpypi dist/*
Upload to main PyPI:
python -m twine upload dist/*