Tools to handle automatic semantic versioning in python


License
GPL-3.0
Install
pip install autosemver==0.0.0

Documentation

Latest commit build status Documentation License Latest PyPI - Version Code style

PyPI - Downloads

Autosemver

This small module provides an easy way to automatically manage the version of your python modules by extracting information directly from the version control system (currently only git supported, patches welcome).

Once installed (ex. pip install autosemver), adding a single line in your setup.py file is enough to start using it:

setup(
    name='some-package',
    url='http://my.fancy/shrubbery',
    ...
    install_requires=['some_important_dep', 'autosemver'],
    ...
    setup_requires=['autosemver'],
    ...
    autosemver=True,
)

That will use tags, commit messages (searches for lines like Sem-Ver: ... and * Incompatible) to generate a version compatible with the semantic versioning standard (https://semver.org/).

Read the full documentation here: http://autosemver.readthedocs.io