summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/docs/build_systems/pythonpackage.rst16
1 files changed, 14 insertions, 2 deletions
diff --git a/lib/spack/docs/build_systems/pythonpackage.rst b/lib/spack/docs/build_systems/pythonpackage.rst
index 0a35c46419..13b59cc96e 100644
--- a/lib/spack/docs/build_systems/pythonpackage.rst
+++ b/lib/spack/docs/build_systems/pythonpackage.rst
@@ -50,8 +50,9 @@ important to understand.
include `setuptools <https://setuptools.pypa.io/>`__,
`flit <https://flit.pypa.io/>`_,
`poetry <https://python-poetry.org/>`_,
- `hatchling <https://hatch.pypa.io/latest/>`_, and
- `meson <https://meson-python.readthedocs.io/>`_.
+ `hatchling <https://hatch.pypa.io/latest/>`_,
+ `meson <https://meson-python.readthedocs.io/>`_, and
+ `pdm <https://pdm.fming.dev/latest/>`_.
^^^^^^^^^^^
Downloading
@@ -368,6 +369,16 @@ it uses the meson build system. Meson uses the default
See https://meson-python.readthedocs.io/en/latest/usage/start.html
for more information.
+"""
+pdm
+"""
+
+If the ``pyproject.toml`` lists ``pdm.pep517.api`` as the ``build-backend``,
+it uses the PDM build system. PDM uses the default ``pyproject.toml``
+keys to list dependencies.
+
+See https://pdm.fming.dev/latest/ for more information.
+
""""""
wheels
""""""
@@ -758,3 +769,4 @@ For more information on build backend tools, see:
* poetry: https://python-poetry.org/
* hatchling: https://hatch.pypa.io/latest/
* meson: https://meson-python.readthedocs.io/
+* pdm: https://pdm.fming.dev/latest/