Path to this page:
./
devel/py-vcversioner,
Use version control tags to discover version numbers
Branch: pkgsrc-2016Q4,
Version: 2.16.0.0,
Package name: py27-vcversioner-2.16.0.0,
Maintainer: kamelderouicheYou can write a setup.py with no version information specified, and vcversioner
will find a recent, properly-formatted VCS tag and extract a version from it.
It's much more convenient to be able to use your version control system's
tagging mechanism to derive a version number than to have to duplicate that
information all over the place. I eventually ended up copy-pasting the same
code into a couple different setup.py files just to avoid duplicating version
information. But, copy-pasting is dumb and unit testing setup.py files is hard.
This code got factored out into vcversioner.
Required to run:[
lang/python27] [
devel/py-setuptools]
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: ce076b62e8f0772bf79f29762bfc3cf09f6781b5
RMD160: b7f3e58ffedb53a6a2824ffbe60c3ec8f01049ee
Filesize: 8.813 KB
Version history: (Expand)
- (2017-01-05) Package added to pkgsrc.se, version py27-vcversioner-2.16.0.0 (created)