Automatically set package version from Git.
Project description
Automatically set package version from Git.
Introduction
Instead of hardcoding the package version in setup.py like:
setup(
name='foobar',
version='1.0',
...)
this package allows to extract it from the underlying Git repository:
setup(
name='foobar',
version_format='{tag}.dev{commitcount}+{gitsha}',
setup_requires=['setuptools-git-version'],
...)
Changes
1.0.2 - 2015-04-14
[bugfix] make it work with Python 3(.4)
1.0.1 - 2015-04-14
brownbag release
1.0 2015-04-10
initial public release
Project details
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
Close
Hashes for setuptools-git-version-1.0.2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7e652142536dddd8941f35849f235f28989f4a9c85f028973743c0895bd941b |
|
MD5 | d7d181e052bc514afb54fc906f950532 |
|
BLAKE2b-256 | 2543d0da19fc3c15386cd70fd856b32ab1875cdd7d25757523107baca7feb4a8 |