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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 137506c45c7ceae2df86bb7184ae5a01b1df6799175ee62a1e2f62815b211d40 |
|
MD5 | d5a9afc103a84deeb67203f197fc3cb2 |
|
BLAKE2b-256 | 77c6d960db9ede48b195de6a40f574f4aa5b14772dcc612d3f3a578b0011f388 |
Close
Hashes for very_good_setuptools_git_version-1.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dc21cbc9751ae21953c5d69324fe905e5a290c4186d60c4c908abae1938882e |
|
MD5 | 2651d200e7e87f79b4321864925a8d99 |
|
BLAKE2b-256 | 4c594eb9e7fce4f61a7520c09c95ff5e12f17f639e105abaf58d7332b9b1541d |