This document contains notes for developers and packagers. End users probably
want to read README and the files in the doc directory instead.
- Make sure the repository is up-to date.
- Ensure the version is incremented:
-
setup.pymust be updated -doc/config.pymust be updated -CHANGES.txtmust contain a summary of the changes - Make sure all changes are committed, including the version number changes.
- Tag the sources with
git tag X.Y. - Don't forget to
git push upstream X.Y. - Temporarily modify the
setup.cfgfile to comment out the variablestag_build = devandtag_date = true(do not commit this changes). - Register and package the new release
python setup.py register sdist. - Upload the new release:
twine upload dist/* - Generate the documentation with
make -C doc zip. - Upload the new documentation (
doc/_build/sphinxcontrib-mscgen-doc.zip) to PyPi: http://pypi.python.org/pypi?%3Aaction=pkg_edit&name=sphinxcontrib-mscgen