Creating a release¶
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
Clean out any old builds or files using
git clean -xfd
Tag the current version using the github releases page: https://github.com/heliopython/heliopy/releases
Fetch the newly created tag
git fetch upstream git merge --ff-only upstream/master
Create a source distribution and a python wheel
python setup.py sdist python setup.py bdist_wheel
Upload created wheels to pypi
twine upload dist/*
See https://packaging.python.org/tutorials/distributing-packages/#packaging-your-project for more information.
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.