diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..791959734 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,9 @@ +# Minimal build configuration at detailed here: +# https://github.com/pypa/pip/issues/11457 + +[build-system] +requires = [ + "setuptools >= 64", + "Cython==3.0.*", + "numpy==1.25.*" +] diff --git a/setup.py b/setup.py index c894bd889..07a2a7ad1 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,7 @@ def run(self): }, ext_modules=get_extensions(), python_requires=PYTHON_VERSION, - setup_requires=['cython', 'numpy'], + setup_requires=[], # replaced by PEP518 (pyproject.toml) install_requires=external_dependencies, entry_points={ 'console_scripts': ["{}=scripts.{}:main".format(