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, this file is modified in the distribution to contain 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.6.tar.gz (4.8 kB view details)

Uploaded Source

Built Distributions

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

Uploaded Python 3

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

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for versiongit-0.6.tar.gz
Algorithm Hash digest
SHA256 16c477b7ab2ebe52acdb2e828e026c751f04b311c6aed49b73c633f27ec078eb
MD5 b6a44a5e7e15f02596655b8d48153f27
BLAKE2b-256 c6236434fce0d46027668feec6a90a0c95eedc780726b034225cf6faa8d6d1fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: versiongit-0.6-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.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.1

File hashes

Hashes for versiongit-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a1061f6e343ad7d2e620556241ab40872f1584490ece345cb4371e21833ab60d
MD5 11e2b7bbb4563fd0b0526972af926508
BLAKE2b-256 8a3586be7445726ea2de47f1dd717e1337d90cea47ce252b9c5988c42ff14e6c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: versiongit-0.6-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.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.15

File hashes

Hashes for versiongit-0.6-py2-none-any.whl
Algorithm Hash digest
SHA256 85b927291be962b6e7be64885818b997afe7d1e3c4a9324ea544482cead790a4
MD5 97df4c1f3d7a5f25c76d0d5a68b38c8d
BLAKE2b-256 e53e526994dc6144e9fc645100b1b88f42c41cd54928b4570946c43156241931

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