personal web log written by izabeera and dryobates

python utils

Bumpversion - easy version bumping

by dryobates

If you have to periodically bump versions in different files use bumpversion!

Bumpversion [1] 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):

current_version = 0.1.0
commit = True
tag = True



Just before release I simply run:

bumpversion minor

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.

Jakub Stolarski. Software engineer. I work professionally as programmer since 2005. Speeding up software development with Test Driven Development, task automation and optimization for performance are things that focus my mind from my early career up to now. If you ask me for my religion: Python, Vim and FreeBSD are my trinity ;) Email: