Skip to content

Commit c0154f4

Browse files
authored
Merge pull request #1997 from pypa/bugfix/1996-py27-tests
Avoid installing setuptools 45 on Python 2.
2 parents 874b7ef + 9732946 commit c0154f4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
[build-system]
2-
requires = ["setuptools >= 40.8", "wheel"]
2+
requires = [
3+
# avoid self install on Python 2; ref #1996
4+
"setuptools >= 40.8; python_version > '3'",
5+
"wheel",
6+
]
37
build-backend = "setuptools.build_meta"
48
backend-path = ["."]
59

0 commit comments

Comments
 (0)