Source

python-chrono / HACKING

Full commit
Making a Release
================

* Prepare the code
  * hg pull -u
  * Update version number in chrono/__init__.py
  * Update NEWS file
  * sudo ./setup.py install
  * ./setup.py test
  * sudo python3.1 ./setup.py install
  * ./setup.py test -p python3.1
  * hg commit -m "prepare version x.y.z" && hg push

* Generate the source distribution
  * Tag new version [hg tag x.y.z && hg push]
  * Create branch, if not bugfix rel [hg branch x.y && hg commit && hg push]
  * Remove any old documentation [rm -rf doc/doctrees/ doc/html/]
  * Generate distribution, upload to pypi [./setup.py sdist upload]

* Release and announce new version
  * Upload new distribution to http://oss.codepoet.no/python-chrono/
  * Upload new documentation to the wiki (python-chrono-wiki repo)
  * Announce release on wiki
  * Announce release on freshmeat.net

Unit Tests
==========

To run all unit-tests, execute tests/test.py.