Skip to content

Commit

Permalink
fix: replace setup_requires by prproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
levje committed Nov 7, 2024
1 parent ac3db46 commit a7c4627
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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.*"
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def run(self):
},
ext_modules=get_extensions(),
python_requires=PYTHON_VERSION,
setup_requires=['cython==3.0.*', 'numpy==1.25.*'],
setup_requires=[], # replaced by PEP518 (pyproject.toml)
install_requires=external_dependencies,
entry_points={
'console_scripts': ["{}=scripts.{}:main".format(
Expand Down

0 comments on commit a7c4627

Please sign in to comment.