Skip to content

Commit acf5f85

Browse files
committed
chore: include hatch and experimental setuptools
1 parent 1a3ff72 commit acf5f85

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

source/tutorials/packaging-projects.rst

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ should contain one of these build-system blocks:
113113
.. code-block:: toml
114114
115115
[build-system]
116-
requires = ["setuptools >=TBD", "wheel>=TBD"]
116+
requires = ["setuptools @ git+https://github.com/pypa/setuptools@experimental/support-pyproject"]
117117
build-backend = "setuptools.build_meta"
118118
119119
.. tab:: Flit
@@ -127,6 +127,17 @@ should contain one of these build-system blocks:
127127
requires = ["flit_core >=3.2"]
128128
build-backend = "flit_core.buildapi"
129129
130+
.. tab:: Hatchling
131+
132+
:ref:`hatch` has a more feature-rich build backend than flit, supporting
133+
SCM versioning and plugins.
134+
135+
.. code-block:: toml
136+
137+
[build-system]
138+
requires = ["hatchling>=0.7"]
139+
build-backend = "hatchling.build"
140+
130141
.. tab:: PDM
131142

132143
:ref:`pdm` has a build backend as well (not required to use PDM for package

0 commit comments

Comments
 (0)