-
Update the version number in
__init__.py
according to semantic versioning rules. -
Update the changelog (
CHANGELOG.md
) for the new version. -
Run tests with
tox
-
Create release commit, tag with
v<newversion>
-
Create the release files with
rm -rf dist; python setup.py sdist bdist_wheel
-
Upload release to pypi with
twine upload --username <username> dist/*
-
Create a new release on Github. Attach the release files, and put the changelog for the new version in the description.