Drop wheel from pyproject.toml examples

Per https://github.com/pypa/setuptools/pull/3056 the addition of
wheel in build_system.requires is redundant since SetupTools already
drags it in anyway. Simplify our recommendations accordingly.

Change-Id: I0359ed11a6f0c54dc1af6a7f5f34e49476c58fb0
This commit is contained in:
Jeremy Stanley 2022-02-28 14:35:37 +00:00
parent 97e7a60f42
commit 571e259969
2 changed files with 3 additions and 3 deletions

View File

@ -41,12 +41,12 @@ PBR can be configured as a PEP517 build-system in ``pyproject.toml``. This
currently continues to rely on setuptools which means you need the above
``setup.py`` file to be present. The main benefits to using a
``pyproject.toml`` file with PBR are that you can control the versions of
PBR, setuptools, and wheel that are used avoiding easy_install invocation.
PBR and setuptools that are used avoiding easy_install invocation.
Your build-system block in ``pyproject.toml`` will need to look something
like this::
[build-system]
requires = ["pbr>=5.7.0", "setuptools>=36.6.0", "wheel"]
requires = ["pbr>=5.7.0", "setuptools>=36.6.0"]
build-backend = "pbr.build"

View File

@ -4,6 +4,6 @@
# once we are more confident it works generally.
[build-system]
requires = ["setuptools>=36.6.0", "wheel"]
requires = ["setuptools>=36.6.0"]
build-backend = "pbr.build"
backend-path = ["."]