Package build and upload to Pypi is handled by .github/workflows/publish.yml
. This is triggered by publication of a new tagged release on the Github releases page. Upload access to Pypi is via stored secret.
Conda-forge then picks up the new Pypi package automatically.
- Commit, push and run CI tests
- git tag -m VX.X.X X.X.X
- git push github master --tags
- git clean -fdxn -e prototyping -e *.code-workspace
- git clean -fdx -e prototyping -e *.code-workspace
- python setup.py sdist
- python setup.py bdist_wheel
- python -m twine upload dist/*