Use version control tags to discover version numbers
Elevator pitch: 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.
- Developed at devel:languages:python
- Sources inherited from project openSUSE:Factory
-
2
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:zSystems/python-vcversioner && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
python-vcversioner.changes | 0000000280 280 Bytes | |
python-vcversioner.spec | 0000001971 1.92 KB | |
vcversioner-2.14.0.0.tar.gz | 0000009015 8.8 KB |
Revision 1 (latest revision is 5)
Dominique Leuenberger (dimstar_suse)
accepted
request 312478
from
Rusmir Duško (nemysis)
(revision 1)
Please accept this new RPM.
Comments 0