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 Mar 15, 2022
1 parent 738ae34 commit ea22f35
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion source/tutorials/packaging-projects.rst
Original file line number Diff line number Diff line change
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 ea22f35

Please sign in to comment.