From f7d30a9529378cf69054b5176249e5457aaf640a Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Thu, 27 Jan 2022 23:00:56 +0100 Subject: [PATCH] Stop mentioning `wheel` in the context of PEP 517 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This dependency is exposed automatically by setuptools and the users do not need to declare it explicitly — it will be installed by PEP 517 front-ends automatically, when building wheels. --- docs/build_meta.rst | 5 +++-- docs/userguide/dependency_management.rst | 2 +- docs/userguide/quickstart.rst | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) 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