diff --git a/README.rst b/README.rst index 394e504..e8c0126 100644 --- a/README.rst +++ b/README.rst @@ -45,11 +45,11 @@ Remove any ``[project] version =`` entry and any ``[tool.setuptools.dynamic] ver Next, `initialize the project`_. -Using Hatch -~~~~~~~~~~~ +Using Hatchling +~~~~~~~~~~~~~~~ -If you're using `Hatch `_ to package your project, -activate Incremental's Hatch plugin by altering your ``pyproject.toml``: +If you're using `Hatchling `_ to package your project, +activate Incremental's Hatchling plugin by altering your ``pyproject.toml``: .. code:: toml @@ -69,14 +69,13 @@ activate Incremental's Hatch plugin by altering your ``pyproject.toml``: # ... [tool.hatch.version] - source = "incremental" # ← Activate Incremental's Hatch plugin + source = "incremental" # ← Activate Incremental's Hatchling plugin -The ``hatch version`` command will report the Incremental-managed version. +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). -Incremental can be configured as usual in a ``[tool.incremental]`` table. - Next, `initialize the project`_. Using ``setup.py`` diff --git a/src/incremental/newsfragments/93.feature b/src/incremental/newsfragments/93.feature index 10e5873..9203306 100644 --- a/src/incremental/newsfragments/93.feature +++ b/src/incremental/newsfragments/93.feature @@ -1 +1 @@ -Incremental now provides a `Hatch version source plugin `__. +Incremental now provides a `Hatchling version source plugin `_.