Maintainer documentation
This document contains notes for developers and packagers. End users probably
want to read README
and the files in the doc
directory instead.
PyPi Release
- Make sure the repository is up-to date.
- Ensure the version is incremented:
-
setup.py
must be updated -doc/config.py
must be updated -CHANGES.txt
must contain a summary of the changes - Make sure all changes are committed, including the version number changes.
- Tag the sources with
hg tag -m 'Tag mscgen-X.Y'
. - Don't forget to
hg push
. - Temporarily modify the
setup.cfg
file to comment out the variablestag_build = dev
andtag_date = true
(do not commit this changes). - Register and upload the new release
python setup.py register sdist upload
. - 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