Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 823 Bytes

release-howto.md

File metadata and controls

45 lines (28 loc) · 823 Bytes

Steps for doing a release

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: