We release Zou versions through Github. Every time a new version is ready, we follow this process:
- Up the version number located the
zou/__version__
file. - Rebase on the master branch.
- Push changes to
master
branch. - Build the package from the sources
- Tag the commit and push the changes to Github
- Publish the package on Pypi
You can run the following script to perform these commands at once:
release_number=0.11.32
git pull --rebase origin master
echo "__version__ = \"$release_number\"" > zou/__init__.py
git commit zou/__init__.py -m $release_number
git tag v$release_number
git push origin master --tag
python setup.py bdist_wheel --universal
twine upload dist/zou-$release_number-py2.py3-none-any.whl
Please see the Zou documentation for the update instructions.