python-incremental
Port variant v11
Summary Library for versioning python projects (3.11)
BROKEN
Package version 24.7.2
Homepage https://github.com/twisted/incremental
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants v12
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 30 JUL 2024, 01:37:20 UTC
Port created 21 APR 2020, 22:22:44 UTC
Subpackage Descriptions
single Incremental =========== |gha| |pypi| |coverage| Incremental is a small library that versions your Python projects. API documentation can be found [here]. .. contents:: Quick Start ----------- Using setuptools ~~~~~~~~~~~~~~~~ Add Incremental to your ``pyproject.toml``: .. code-block:: toml [build-system] requires = [ "setuptools", "incremental>=24.7.2", # ← Add incremental as a build dependency ] build-backend = "setuptools.build_meta" [project] name = "" dynamic = ["version"] # ← Mark the version dynamic dependencies = [ "incremental>=24.7.2", # ← Depend on incremental at runtime ] # ... [tool.incremental] # ← Activate Incremental's setuptools plugin It's fine if the ``[tool.incremental]`` table is empty, but it must be present. Remove any ``[project] version = entry and any [tool.setuptools.dynamic] version =`` entry. Next, `initialize the project`_. Using Hatchling ~~~~~~~~~~~~~~~ If you're using [Hatchling] to package your project, activate Incremental's Hatchling plugin by altering your ``pyproject.toml``: .. code:: toml [build-system] requires = [ "hatchling", "incremental>=24.7.2", # ← Add incremental as a build dependency ] build-backend = "hatchling.build" [project] name = "" dynamic = ["version"] # ← Mark the version dynamic dependencies = [ "incremental>=24.7.2", # ← Depend on incremental at runtime ] # ... [tool.hatch.version] source = "incremental" # ← Activate Incremental's Hatchling plugin Incremental can be configured as usual in an optional ``[tool.incremental]`` table. The hatch version command will report the Incremental-managed version. Use the ``python -m incremental.update`` command to change the version (setting it with hatch version is not supported). Next, `initialize the project`_. Using ``setup.py`` ~~~~~~~~~~~~~~~~~~ Incremental may be used from ``setup.py instead of pyproject.toml``. Add this to your ``setup()`` call, removing any other versioning arguments: .. code:: python setup( use_incremental=True, setup_requires=['incremental'], install_requires=['incremental'], # along with any other install dependencies ... }
Configuration Switches (platform-specific settings discarded)
PY311 ON Build using Python 3.11 PY312 OFF Build using Python 3.12
Package Dependencies by Type
Build (only) python-pip:single:v11
autoselect-python:single:std
Build and Runtime python311:single:std
Runtime (only) python-setuptools:single:v11
Download groups
main mirror://PYPIWHL/0d/38/221e5b2ae676a3938c2c1919131410c342b6efc2baffeda395dd66eeca8f
Distribution File Information
8cb2c3431530bec48ad70513931a760f446ad6c25e8333ca5d95e24b0ed7b8fe 20516 incremental-24.7.2-py3-none-any.whl
Ports that require python-incremental:v11
python-Twisted:v11 Asynchronous networking framework (3.11)