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=['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

very-good-setuptools-git-version-1.0.5.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

very_good_setuptools_git_version-1.0.5-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for very-good-setuptools-git-version-1.0.5.tar.gz
Algorithm Hash digest
SHA256 137506c45c7ceae2df86bb7184ae5a01b1df6799175ee62a1e2f62815b211d40
MD5 d5a9afc103a84deeb67203f197fc3cb2
BLAKE2b-256 77c6d960db9ede48b195de6a40f574f4aa5b14772dcc612d3f3a578b0011f388

See more details on using hashes here.

File details

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

File metadata

File hashes

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

See more details on using hashes here.

Supported by

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