Erik Grinaker is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

erikg / python-chrono

A Python module for simple and convenient date/time handling

Clone this repository (size: 1.2 MB): HTTPS / SSH
hg clone https://bitbucket.org/erikg/python-chrono
hg clone ssh://hg@bitbucket.org/erikg/python-chrono

python-chrono / HACKING

Making a Release
================

* Prepare the code
  * hg pull -u
  * Update version number in chrono/__init__.py
  * Update NEWS file
  * ./setup.py test
  * ./setup.py test -p python3.1
  * ./setup.py doctest
  * 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.