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=['very-good-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
File details
Details for the file very-good-setuptools-git-version-1.0.8.tar.gz
.
File metadata
- Download URL: very-good-setuptools-git-version-1.0.8.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24951c5cc014cfc07fd9e943881dd13844d77fd7624f74afdea712244292873a |
|
MD5 | a5a257aa982ca86ed293535509931f65 |
|
BLAKE2b-256 | 0a3a7a0da87f2f381390696e237304fa54d43e789b58666ac1ed235c3967cb38 |
File details
Details for the file very_good_setuptools_git_version-1.0.8-py2.py3-none-any.whl
.
File metadata
- Download URL: very_good_setuptools_git_version-1.0.8-py2.py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17f97575e0bc6728f31a91a880bb216729d01bd9eb5a06dd346ee7121a6a1ee1 |
|
MD5 | 1dc0140bde656e6a4ccff5567a22a654 |
|
BLAKE2b-256 | 232a87db9f28519b57c65b49334586bd24f2e5d4e2c270a290c9aa5c7bde0666 |