very-good-setuptools-git-version
Automatically set package version from Git. This is a re-release of setuptools-git-version with fixes and improvements.
Introduction
Instead of hard-coding the package version in setup.py
like:
setup(
name='foobar',
version='1.0',
...
)
this package allows to extract it from the underlying Git repository:
setup(
name='foobar',
version_format='{tag}.dev{commits}+{sha}',
setup_requires=['very-good-setuptools-git-version'],
...
)