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'],
...)
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.0a2.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d3331b935938baf586afd34ca0f5ea684c2431bf63d25669c14aa3f7260a013 |
|
MD5 | e7c78fb301f20d72569348c2e912c417 |
|
BLAKE2b-256 | e288ff8b3b833f68e06ead8727832b9712c582be5dacccfe6cf6718c257c8104 |