Skip to main content

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'],
    ...
)

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.8.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 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.

Release history Release notifications | RSS feed

This release

1.0.8 This release

2 files

1.0.7

2 files

1.0.6

2 files

1.0.5

2 files

1.0.4

2 files

1.0.3

2 files

1.0.1

1 file

1.0.0

1 file

Supported by

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