From 2b6f0bef195919e879db333d412a2f4a01a38f62 Mon Sep 17 00:00:00 2001 From: Tom Most Date: Sat, 20 Jul 2024 15:15:34 -0700 Subject: [PATCH] Call it "Hatchling" The PyPA packaging user guide refers to it as "Hatchling", so match that terminology. --- README.rst | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) 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``