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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 216d73ad7470343d490a365278c8f85fc1291e041dcc9e8e2784b23bcd20a76c |
|
MD5 | 537ae5cfac16215381799323ec4e9e78 |
|
BLAKE2b-256 | d3e439d333f393c009e93d7cab8f56ee03ed9838a9c3c5d773ddffe7b78b85bf |
Close
Hashes for very_good_setuptools_git_version-1.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4cacc98cba8c89148977c852868564cbf80b59f432a47d30393155c72d1de8d |
|
MD5 | a8a1e9b547e2ed98b7c5f3ca515ac27d |
|
BLAKE2b-256 | 1c01063ebdcda9d410b4814398968ea4ce9bd3aceb80b36bc7d1092b6e8ef129 |