Skip to main content

No project description provided

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.2.tar.gz (6.7 kB view details)

Uploaded Source

Built Distributions

versiongit-0.2-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

versiongit-0.2-py2-none-any.whl (11.2 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: versiongit-0.2.tar.gz
  • Upload date:
  • Size: 6.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.2.tar.gz
Algorithm Hash digest
SHA256 4ae7153eed4fee472b495784c88dc2c15931d2cd515caf21612f9ad27c6f14bc
MD5 8f95a9f8d44a45ca49d05e5d6c53d307
BLAKE2b-256 df2a43e91d30a55a6532b0850d5384576cd510d5f960629e798570701d28c3fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: versiongit-0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.2 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.7.1

File hashes

Hashes for versiongit-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 14584821d2876a3efbd41357b189cd53b9116782a86d5523c0eaca04e7c8bbe6
MD5 ccf8807633fea9b62ab3f466b89e6da9
BLAKE2b-256 2812eb230029e5108172d065e4f5d20b5a82b0dc7d764ad891c2aef171684cb9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: versiongit-0.2-py2-none-any.whl
  • Upload date:
  • Size: 11.2 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.2-py2-none-any.whl
Algorithm Hash digest
SHA256 b3a2b69374ba957e1e09a9ed0e6a62bd2b2a23ec9e8cdd0841ee7bdb0cfd504a
MD5 476c1ebd62927277dbc7045a75e97e56
BLAKE2b-256 64423865eb0e09469e9d54168c8ab598ccf553ba5281446a85a2479bc61e8f39

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