Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 911 Bytes

release-howto.md

File metadata and controls

47 lines (29 loc) · 911 Bytes

Steps for doing a release

Note! Releases are handled by GitHub Actions. This document is for reference only.

Preparation

Update changelog.

Bump version number in setup.py.

Commit, push and merge the above changes.

Building the release package

Make sure wheel is installed.

Run:

python setup.py sdist bdist_wheel

Uploading release to PyPI

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/*

References: