Skip to content

Commit b3428ec

Browse files
committed
Fix building for python <3.9
1 parent 52cfb81 commit b3428ec

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pyproject.toml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
[build-system]
2-
requires = ["setuptools>=41.2", "cython>=0.29.20", "wheel", "numpy>=2.0.0rc1,<3"]
2+
requires = [
3+
"setuptools>=41.2",
4+
"cython>=0.29.20",
5+
"wheel",
6+
"oldest-supported-numpy ; python_version < '3.9'",
7+
"numpy>=2.0.0rc1,<3 ; python_version >= '3.9'",
8+
]
39
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)