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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2.7

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