Creating a release

  1. Fetch the latest copy of the upstream repository, and merge it into your local master branch:

git fetch upstream
git checkout master
git merge upstream/master
  1. Clean out any old builds or files using

git clean -xfd
  1. Tag the current version using the github releases page:

  2. Fetch the newly created tag

git fetch upstream
git merge --ff-only upstream/master
  1. Create a source distribution and a python wheel

python sdist
python bdist_wheel
  1. Upload created wheels to pypi

twine upload dist/*

See for more information.

  1. Update the conda package at A PR should be opened automatically, and you just have to merge it if all the tests pass.