#!/usr/local/bin/invoke /usr/bin/peak version-config
# This is a PEAK 'version' tool configuration file, that's
# also executable. PJE uses it to bump version numbers in
# the various parts of the project without having to edit them
# by hand. The current version is stored in the version.dat
# file.
# These are not the droids you're looking for. You can go on
# about your business...
DefaultFormat full
part major
part minor
part status choice alpha beta "release candidate" final
part build
part date timestamp
trailer remap status "a%(build)s" "b%(build)s" "c%(build)s" "%(dot-maint)s"
dot-maint optional build ".%(build)s"
full "%(major)s.%(minor)s %(status)s %(build)s"
short "%(major)s.%(minor)s%(trailer)s"
Name setuptools
File setup.py
File ez_setup.py
Match 'VERSION = "%(short)s"'
File release.sh
Match 'VERSION="%(short)s"'
File setuptools/__init__.py
Match "__version__ = '%(short)s'"