diff --git a/docs/build_meta.rst b/docs/build_meta.rst index 9c77f9f3ab..a14a5843a0 100644 --- a/docs/build_meta.rst +++ b/docs/build_meta.rst @@ -53,12 +53,13 @@ being used to package your scripts and install from source). To use it with setuptools, the content would be:: [build-system] - requires = ["setuptools", "wheel"] + requires = ["setuptools"] build-backend = "setuptools.build_meta" The ``setuptools`` package implements the ``build_sdist`` command and the ``wheel`` package implements the ``build_wheel`` -command; both are required to be compliant with PEP 517. +command; the latter is a dependency of the former +exposed via :pep:`517` hooks. Use ``setuptools``' :ref:`declarative config ` to specify the package information:: diff --git a/docs/userguide/dependency_management.rst b/docs/userguide/dependency_management.rst index 9c29dbd5e2..ea2fc5563d 100644 --- a/docs/userguide/dependency_management.rst +++ b/docs/userguide/dependency_management.rst @@ -28,7 +28,7 @@ other two types of dependency keyword, this one is specified in your .. code-block:: ini [build-system] - requires = ["setuptools", "wheel"] + requires = ["setuptools"] #... .. note:: diff --git a/docs/userguide/quickstart.rst b/docs/userguide/quickstart.rst index 28d4ac33f1..203d620473 100644 --- a/docs/userguide/quickstart.rst +++ b/docs/userguide/quickstart.rst @@ -32,7 +32,7 @@ package your project: .. code-block:: toml [build-system] - requires = ["setuptools", "wheel"] + requires = ["setuptools"] build-backend = "setuptools.build_meta" Then, you will need a ``setup.cfg`` or ``setup.py`` to specify your package