Skip to content

Commit 55fae0a

Browse files
committed
build: include Cython and NumPy in PEP 517 build-system requires to ensure compiled wheels in CI
1 parent 06b5410 commit 55fae0a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
[build-system]
22
requires = [
33
"setuptools>=45.0",
4-
"wheel>=0.36; python_version < '3.12' "
4+
"wheel>=0.36; python_version < '3.12' ",
5+
# Ensure PEP 517 build environments have the headers/tools needed to compile extensions
6+
"Cython>=3.0.7",
7+
"numpy>=1.22"
58
]
69

710
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)