Skip to content

Commit

Permalink
Stop mentioning wheel in the context of PEP 517
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
webknjaz committed Jan 27, 2022
1 parent 347b847 commit f7d30a9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/build_meta.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <declarative config>` to
specify the package information::
Expand Down
2 changes: 1 addition & 1 deletion docs/userguide/dependency_management.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
2 changes: 1 addition & 1 deletion docs/userguide/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7d30a9

Please sign in to comment.