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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for very_good_setuptools_git_version-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7fd0e7d323b410cb744c17483eadd0cd11f3f901e624723cdc0273a60eeae34 |
|
MD5 | 3eed27eea916b4aa272278c9b11490a2 |
|
BLAKE2b-256 | bcf68c9a3a75c1e2a1b16a6accc0305b5b67551375e2ad24911e59416755ec17 |