Skip to main content

Utility to get the git version of a package.

Project description

Build Status Badge Coverage Status Badge Code Health Badge Version Badge Downloads Badge Wheel Status Badge License Badge

This package lets you use git tags to version python projects.

Usage

setup.py:

from <package>.version import __VERSION__
setup(version=__VERSION__, ...)

<package>/version.py:

from gitversion import rewritable_git_version
__VERSION__ = rewritable_git_version(__file__)

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

gitversion-2.1.3.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

gitversion-2.1.3-py27-none-any.whl (3.4 kB view details)

Uploaded Python 2.7

File details

Details for the file gitversion-2.1.3.tar.gz.

File metadata

  • Download URL: gitversion-2.1.3.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gitversion-2.1.3.tar.gz
Algorithm Hash digest
SHA256 4cf15c06069bb49f4ba233514695ba739057055bb626aaf36774a51dcba12576
MD5 ec80e2de6e64c69744227320b014fcb4
BLAKE2b-256 1527be42e61a250d5b17656c32b96700b19992f668449ea36d49aface95da649

See more details on using hashes here.

File details

Details for the file gitversion-2.1.3-py27-none-any.whl.

File metadata

File hashes

Hashes for gitversion-2.1.3-py27-none-any.whl
Algorithm Hash digest
SHA256 d05eb88b6674ebc70b7a3596cf2b215d437355d10fc445afa70fb1ddfe7b2fd0
MD5 6172bec2886c8f025e6038d029c65bc5
BLAKE2b-256 689f5341366de0026d94ccb36a2bfdff4b71d8519345b3e1a0e004b83c766cd2

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