diff --git a/pyproject.toml b/pyproject.toml index 3a772ef6..9903c3be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,13 @@ [build-system] -requires = [ - "setuptools", - "cython", - "oldest-supported-numpy", -] +requires = ["setuptools", + "wheel", + "cython>=0.29.21", + "numpy==1.16.0; python_version <= '3.7'", + "numpy==1.17.3; python_version == '3.8'", + "numpy==1.19.3; python_version == '3.9'", + "numpy==1.21.4; python_version =='3.10'", + "numpy; python_version >= '3.11'", + ] + +# To ensure the best compatibility, try to match the numpy reqs +# https://github.com/scipy/oldest-supported-numpy/blob/master/setup.cfg