Creating a release¶
Fetch the latest copy of the upstream repository
git checkout master
Run
git clean -xfd
to clean out any old builds
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 conda package at https://github.com/conda-forge/heliopy-feedstock