Skip to content

Commit

Permalink
chore: include hatch and experimental setuptools
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed Feb 22, 2022
1 parent 1a3ff72 commit acf5f85
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion source/tutorials/packaging-projects.rst
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit acf5f85

Please sign in to comment.