Skip to main content

Tool for adding version from git to a python project without adding dependencies

Project description

Build Status Test coverage Latest PyPI version Documentation

VersionGit is a tool for managing the version number of Python modules, removing the need to update an embedded version string whenever a Git tag is made, and providing sensible development version numbers too. It does this by storing a single file in the source repo that reads the version from git describe or git archive keywords. At build time, a second file will be created that contains a static version number to be used in preference to this. This tool is inspired by versioneer, but has a vastly reduced feature set so that the code stored in each module is minimal.

Documentation

Full documentation is available at http://versiongit.readthedocs.org

Source Code

Available from https://github.com/dls-controls/versiongit

Installation

To install the latest release, type:

pip install versiongit

Changelog

See CHANGELOG

Contributing

See CONTRIBUTING

License

To make VersionGit easier to embed, all its code is dedicated to the public domain. The _version_git.py that it creates is also in the public domain. Specifically, both are released under the Creative Commons “Public Domain Dedication” license (CC0-1.0), as described in LICENSE

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

versiongit-0.4.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distributions

versiongit-0.4-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

versiongit-0.4-py2-none-any.whl (8.4 kB view hashes)

Uploaded Python 2

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