28 Dec 2014 by dryobates
If you have to periodically bump versions in different files use bumpversion!
Bumpversion  is small utility but how much useful. PyPI’s project page has exhaustive usage instructions so you’ll surely find configuration for your projects.
Most of my projects have very simple config file (.bumpversion.cfg):
[bumpversion] current_version = 0.1.0 commit = True tag = True [bumpversion:file:setup.py] [bumpversion:file:docs/conf.py]
Just before release I simply run:
Then test package for the last time and release:
paver pre_release paver release
Tool with unix soul in it: does one thing and does it well.