Making a release¶
Push it to GitHub, create a release tagging it.
Tagging it on GitHub will automatically deploy it to PyPi, which in turn will create a PR for the conda-forge feedstock. Merge that PR.
If there were changes to README, check it with:
python setup.py --long-description | rst2html.py --no-raw > index.html
If unsure, test it first manually on testpypi (requires ~/.pypirc):
~/anaconda3/bin/twine upload dist/* -r testpypi
If unsure, test the test-pypi for conda if the skeleton builds:
conda skeleton pypi --pypi-url https://test.pypi.io/pypi/ empymod
If it fails, you might have to install
sudo apt install python3-setuptools
Testing on GitHub Actions includes:
Linting / code style with
Ensure all http(s)-links work (
Code-quality on Codacy
Manual on ReadTheDocs, including the Gallery (examples run each time).
DOI minting on Zenodo
Benchmarks with Airspeed Velocity (
asv) [currently manually]
Automatically deploys if tagged: