To install this package, run one of the following:
|travis| |pypi| |coverage|
Incremental is a small library that versions your Python projects.
API documentation can be found here <https://hawkowl.github.io/incremental/docs/>_.
Add this to your setup.py\ 's setup() call:
.. code::
setup( useincremental=True, setuprequires=['incremental'], install_requires=['incremental'], # along with any other install dependencies ... }
Then in your project add a _version.py that contains:
.. code::
from incremental import Version
version = Version("widgetbox", 1, 2, 3) all = ["version"]
Then, so users of your project can find your version, in your project's __init__.py add:
.. code::
from ._version import version
Subsequent installations of your project will use incremental for versioning.
.. |coverage| image:: https://codecov.io/github/hawkowl/incremental/coverage.svg?branch=master .. _coverage: https://codecov.io/github/hawkowl/incremental
.. |travis| image:: https://travis-ci.org/hawkowl/incremental.svg?branch=master .. _travis: http://travis-ci.org/hawkowl/incremental
.. |pypi| image:: http://img.shields.io/pypi/v/incremental.svg .. _pypi: https://pypi.python.org/pypi/incremental
Last Updated
Feb 8, 2017 at 03:28
License
MIT
Total Downloads
57