Skip to content

Commit 41aa41c

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 e7ff9fd commit 41aa41c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyproject.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[build-system]
22
requires = [
33
"setuptools>=42",
4-
"wheel",
54
"setuptools_scm[toml]>=3.4",
65
]
7-
build-backend = "setuptools.build_meta:__legacy__"
6+
build-backend = "setuptools.build_meta"
87

98
[tool.setuptools_scm]
109
write_to = "phonenumber_field/version.py"

0 commit comments

Comments
 (0)