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

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

File details

Details for the file versiongit-0.4.tar.gz.

File metadata

  • Download URL: versiongit-0.4.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.15

File hashes

Hashes for versiongit-0.4.tar.gz
Algorithm Hash digest
SHA256 3f6be7cec93e5fde87f1799369436ad43868d104a2b954c2d4814a708ffc302e
MD5 ff596a010d59a2cb07b9071e70d1a5e4
BLAKE2b-256 63d0ae7fc77346baeaebf00c71504375dbbde724ec8f04ebb9c00f96b93bd59d

See more details on using hashes here.

File details

Details for the file versiongit-0.4-py3-none-any.whl.

File metadata

  • Download URL: versiongit-0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.7

File hashes

Hashes for versiongit-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 24beb38fd94ff729e7373611455b63d4f0257cfd0b8890d728dce20643b528e4
MD5 ff004487ca577ee9d522ccc9c0e92289
BLAKE2b-256 a3041b3c0e2b86c68298f88cdd6b13b1f11c9053218da64955c9fa9b380a1cad

See more details on using hashes here.

File details

Details for the file versiongit-0.4-py2-none-any.whl.

File metadata

  • Download URL: versiongit-0.4-py2-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/2.7.15

File hashes

Hashes for versiongit-0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 92dad7adca7191b831a87ffacf0b904af134605c9b5ce169ef1128f65d2ae933
MD5 0b6f44b56c1a439e131e426fc86a09ea
BLAKE2b-256 2f28f8f6b1fae5b9a962c246ff01c2f61dee17772f719c9d1f6329a2685a866e

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