From ea22f356f0b2a8063c6c6c3d6241fafcadb23ac8 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Tue, 22 Feb 2022 12:26:53 -0500 Subject: [PATCH] chore: include hatch and experimental setuptools --- source/tutorials/packaging-projects.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/source/tutorials/packaging-projects.rst b/source/tutorials/packaging-projects.rst index 0c4b1a9146..2da42c9674 100644 --- a/source/tutorials/packaging-projects.rst +++ b/source/tutorials/packaging-projects.rst @@ -113,7 +113,7 @@ should contain one of these build-system blocks: .. code-block:: toml [build-system] - requires = ["setuptools >=TBD", "wheel>=TBD"] + requires = ["setuptools @ git+https://github.com/pypa/setuptools@experimental/support-pyproject"] build-backend = "setuptools.build_meta" .. tab:: Flit @@ -127,6 +127,17 @@ should contain one of these build-system blocks: requires = ["flit_core >=3.2"] build-backend = "flit_core.buildapi" +.. tab:: Hatchling + + :ref:`hatch` has a more feature-rich build backend than flit, supporting + SCM versioning and plugins. + + .. code-block:: toml + + [build-system] + requires = ["hatchling>=0.7"] + build-backend = "hatchling.build" + .. tab:: PDM :ref:`pdm` has a build backend as well (not required to use PDM for package