Skip to content

Commit 8765fa7

Browse files
committed
Stop suggesting to put wheel in pyproject.toml
This is a known misconception that it's necessary. It's actually been automatically exposed by `setuptools.build_meta` since it got introduced. Ref: pypa/setuptools#3056.
1 parent 5f0471c commit 8765fa7

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ built step by specifying it as one of the build requirements.
4141
4242
# pyproject.toml
4343
[build-system]
44-
requires = ["setuptools>=45", "wheel", "setuptools_scm[toml]>=6.2"]
44+
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
4545
4646
4747
That will be sufficient to require ``setuptools_scm`` for projects

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[build-system]
22
requires = [
33
"setuptools>=45",
4-
"wheel",
54
"tomli>=1.0",
65
"packaging>=20.0"
76
]

testing/test_setuptools_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_distlib_setuptools_works(venv_maker):
122122
PYPROJECT_TOML_WITH_KEY = """
123123
[build-system]
124124
# Minimum requirements for the build system to execute.
125-
requires = ["setuptools>45", "wheel"] # PEP 508 specifications.
125+
requires = ["setuptools>45"] # PEP 508 specifications.
126126
[tool.setuptools_scm]
127127
write_to = "pkg_version.py"
128128
"""

0 commit comments

Comments
 (0)