7259f58f0e
You 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.
6 lines
434 B
Text
6 lines
434 B
Text
$NetBSD: distinfo,v 1.1 2016/10/11 12:24:33 bsiegert Exp $
|
|
|
|
SHA1 (vcversioner-2.16.0.0.tar.gz) = ce076b62e8f0772bf79f29762bfc3cf09f6781b5
|
|
RMD160 (vcversioner-2.16.0.0.tar.gz) = b7f3e58ffedb53a6a2824ffbe60c3ec8f01049ee
|
|
SHA512 (vcversioner-2.16.0.0.tar.gz) = e4e34693aa813e57991eca01d20102bd2e939b536461e2e9e063ac0e3558580e57d7e8d5e08d010690b3c901c97e53f187f20b48520b333eb492ec33e85757d8
|
|
Size (vcversioner-2.16.0.0.tar.gz) = 9024 bytes
|