No project description provided
Project description
Incremental is a small library that versions your Python projects.
Quick Start
Add this to your setup.py‘s setup() call:
setup(
use_incremental=True,
setup_requires=['incremental'],
install_requires=['incremental'], # along with any other install dependencies
...
}
Then in your project add a _version.py that contains:
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:
from ._version import __version__
Subsequent installations of your project will use incremental for versioning.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
incremental-16.9.0.tar.gz
(15.7 kB
view hashes)