Automatically set package version from Git.
Instead of hardcoding 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{commitcount}+{gitsha}',
package_info='foobar/__pkg__.py',
setup_requires=['setuptools-git-version'],
...)- [feature] add package_info which contains the package name and package version.
Do not forget to add the package_info file into your .gitignore.
- [feature] allow to build a package using a git-based version without modifying it upfront
- [bugfix] rename module to avoid import conflicts
- [bugfix] make it work with Python 3(.4)
- brownbag release
- initial public release