Skip to main content

Automatically set package version from Git.

Project description

very-good-setuptools-git-version

PackageVersion PythonVersion Stable Format License

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

very_good_setuptools_git_version-1.0.8-py2.py3-none-any.whl (3.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file very-good-setuptools-git-version-1.0.8.tar.gz.

File metadata

File hashes

Hashes for very-good-setuptools-git-version-1.0.8.tar.gz
Algorithm Hash digest
SHA256 24951c5cc014cfc07fd9e943881dd13844d77fd7624f74afdea712244292873a
MD5 a5a257aa982ca86ed293535509931f65
BLAKE2b-256 0a3a7a0da87f2f381390696e237304fa54d43e789b58666ac1ed235c3967cb38

See more details on using hashes here.

File details

Details for the file very_good_setuptools_git_version-1.0.8-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for very_good_setuptools_git_version-1.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 17f97575e0bc6728f31a91a880bb216729d01bd9eb5a06dd346ee7121a6a1ee1
MD5 1dc0140bde656e6a4ccff5567a22a654
BLAKE2b-256 232a87db9f28519b57c65b49334586bd24f2e5d4e2c270a290c9aa5c7bde0666

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page