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.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
git tag X.Y
. - Don't forget to
git push upstream X.Y
. - Temporarily modify the
setup.cfg
file to comment out the variablestag_build = dev
andtag_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