Creating a release

  1. Fetch the latest copy of the upstream repository
git checkout master
  1. Run
git clean -xfd

to clean out any old builds

  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 conda package at https://github.com/conda-forge/heliopy-feedstock