vcversioner 0.13.0.1
pip install vcversioner==0.13.0.1
Released:
Use version control tags to discover version numbers
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: ISC License (ISCL) (ISC)
- Author: Aaron Gallagher
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
vcversioner
In-depth documentation: https://vcversioner.readthedocs.org/en/latest/
Elevator pitch: you can write a setup.py with no version number specified, and vcversioner will find a recent properly-formatted git tag and extract the version number from it.
To quote myself:
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 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. Thus: vcversioner.
Basic use
vcversioner installs itself as a distutils hook, which makes its use exceedingly simple:
from setuptools import setup setup( # [...] setup_requires=['vcversioner'], vcversioner={}, )
The presence of a vcversioner argument automagically activates vcversioner and updates the project’s version. In most cases, the following line should also be added to MANIFEST.in:
include version.txt
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: ISC License (ISCL) (ISC)
- Author: Aaron Gallagher
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file vcversioner-0.13.0.1.tar.gz
.
File metadata
- Download URL: vcversioner-0.13.0.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
bf0ff5a354de77e4094aa511de53b4222935c259d355ed315f50515a4da98fc6
|
|
MD5 |
9007e3a05fe02916fb5e6500f56706f7
|
|
BLAKE2b-256 |
d568c8b167951ffd6665e8bf7bb3d6b690b3b802bb1dce3dc361e6c118f2e283
|