Use git repo data (latest tag, current commit hash, etc) for building a version
number according PEP 440.
Features:
- Can be installed & configured through both setup.py and PEP 518's
pyproject.toml
- Does not require to change source code of the project
- Tag-, file-, and callback-based versioning schemas are supported
- Templates for tag, dev and dirty versions are separated
- Templates support a lot of substitutions including git and environment
information
- Well-documented
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-setuptools-git-versioning listed in the above command, you can pick from the names under the Packages section.
devel/py-setuptools-git-versioning: Add py-setuptools-git-versioning 1.13.5
Use git repo data (latest tag, current commit hash, etc) for building a version
number according PEP 440.
Features:
- Can be installed & configured through both setup.py and PEP 518's
pyproject.toml
- Does not require to change source code of the project
- Tag-, file-, and callback-based versioning schemas are supported
- Templates for tag, dev and dirty versions are separated
- Templates support a lot of substitutions including git and environment
information
- Well-documented