Skip to content

Commit

Permalink
Merge pull request #3056 from webknjaz/docs/build-system-no-wheel
Browse files Browse the repository at this point in the history
Stop mentioning `wheel` in the context of PEP 517
  • Loading branch information
jaraco committed Jan 28, 2022
2 parents 347b847 + ba81886 commit d3124ac
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions changelog.d/3056.docs.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The documentation has stopped suggesting to add ``wheel`` to
:pep:`517` requirements -- by :user:`webknjaz`
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 d3124ac

Please sign in to comment.