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.
PyPI |
pip install versiongit |
Source code |
|
Documentation |
|
Changelog |
https://github.com/dls-controls/versiongit/blob/master/CHANGELOG.rst |
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)
See https://dls-controls.github.io/versiongit for more detailed documentation.
Release files for versiongit 2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| versiongit-2.2.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| versiongit-2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / versiongit-2.2.tar.gz
| Download URL | versiongit-2.2.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
45817c355c6a0ca4a21af15d451d444b3bc5cf03f374cb72907174f3f6043daf
|
|
BLAKE2b-256 checksum How to use checksums |
0e87223ff61e69a1a0e651e552a0a2d9ee663cc74db13f49c796cd146afcd865
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / versiongit-2.2-py3-none-any.whl
| Download URL | versiongit-2.2-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
383ecc9a9a19f2e757abe17c22e95e9f82814bbdd68774b3aac07ec4275c3344
|
|
BLAKE2b-256 checksum How to use checksums |
e08872ac51d95a70c07d19dba4f09836a46651cc37a9c75f2c2017615ab06fb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|