Skip to content

Commit 97dcc0d

Browse files
Simplify pyproject.toml
https://code.djangoproject.com/ticket/33778 The wheel dependency is redundant and discouraged here. Setuptools adds this dependency via the backend automatically since day one. It was historically included in the documentation but it was a mistake. See: pypa/setuptools@f7d30a9 The legacy backend was never supposed to be used in pyproject.toml. It is only an "internal" fallback that is used by tools like pip when pyproject.toml is not present at all. The regular backend must always be used in pyproject.toml. See: pypa/setuptools#1689
1 parent 89e0ad4 commit 97dcc0d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pyproject.toml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
[build-system]
2-
requires = [
3-
"setuptools>=42",
4-
"wheel",
5-
]
6-
build-backend = "setuptools.build_meta:__legacy__"
2+
requires = ["setuptools>=42"]
3+
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)