Incremental is a small library that versions your Python projects.
API documentation can be found here.
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.
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.1.tar.gz
(15.9 kB
view details)
File details
Details for the file incremental-16.9.1.tar.gz.
File metadata
- Download URL: incremental-16.9.1.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90519bce9041a04afdeeec8e3319ebed3f3b9d460fa048829fd5901f04e4aae4
|
|
| MD5 |
d3cd00ddcbbc03a7c2336e43fa8f2a01
|
|
| BLAKE2b-256 |
57211caaff213d67b2d90d661f9d27ba18ebef855196a512fc4987bb22dbbca7
|