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: https://github.com/heliopython/heliopy/releases

  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 setup.py sdist
python setup.py bdist_wheel
  1. Upload created wheels to pypi

twine upload dist/*

See https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project for more information.

  1. Update the conda package at https://github.com/conda-forge/heliopy-feedstock A PR should be opened automatically, and you just have to merge it if all the tests pass.