Automatically set package version from Git.
Project description
very-good-setuptools-git-version
Automatically set package version from Git. This is a re-release of setuptools-git-version with fixes and improvements.
Introduction
Instead of hard-coding 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{commits}+{sha}',
setup_requires=['setuptools-git-version'],
...
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for very-good-setuptools-git-version-1.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b286bb0d815c3bf0bc244d95ddae159ed58a6a0c1c576197388599ae7b19f55 |
|
MD5 | 350de591cf89c4bc2f5af13ae3331517 |
|
BLAKE2b-256 | 9fdfaac662f3d3b65853d9529dbd8636e57cd24fae4b89764a068f4c1ec2a0ce |
Close
Hashes for very_good_setuptools_git_version-1.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac77e9edcdfe794f675c39ddcc37cf724398cf718b0c7c294f245b6562f60bf6 |
|
MD5 | 3e5a6c5823cf268248aa2d9739888cd9 |
|
BLAKE2b-256 | 385a42287df6fe399142efb4122a88108b7d5f065d9a99cdfe17e1551693cabe |