Releases
The following steps describe how to create a new release of latua from subversion. Be careful on creating of new releases. Check everything twice. Do not forget any of these steps or forget to include files into the release.
Preparation
- get an ok from all developers in CurrentTeam for the new release
- regenerate documentation:
# cd trunk/ # python scripts/latua_documentation latua .
- increment the release number in latua/_version.py, for example: 0.2beta
- commit last changes to release number and documentation
Subversion Tag
next step is tagging actual trunk revision to the new release number:
# svn cp http://www.petunial.de/svn/latua/trunk/ http://www.petunial.de/svn/latua/tags/0.2beta/ -m "new latua release 0.2beta" # svn up
Release with Distutils
Source Release
- create a tarball for the release:
# cd tags/0.2beta/ # python setup.py sdist
- check tarball twice and try to install it on a clean machine and check if its working
Packages
- create exe for windows and rpm for linux:
# python setup.py bdist_wininst # python setup.py bdist_rpm
- check/try to install files on target platforms
- add packages to subversion repository too
# svn add dist/* # svn ci -m "add packages for release 0.2beta"
- finally add/link new files on website and write an announce to mailinglist
PyPI
- extract source tarball and change into extracted directory (to get PKG_INFO) and register on python package index with the following command:
# python setup.py register
Cleanup
remove no longer needed directories:
# rm -r build/ MANIFEST
