The release process:

  1. Adjust the version number in

  2. Tag a new release:

    git tag <release number>
  3. Push the new tag to github:

    git push --tags
  4. Create a new release on github.

  5. Create a distribution:

    python sdist bdist_wheel
  6. Use twine to upload to pypi:

    python -m twine upload dist/*