Skip to content

Commit

Permalink
Merge pull request #1048 from levje/levje/build-toml-fix
Browse files Browse the repository at this point in the history
[FIX] pyproject.toml and right build dependencies.
  • Loading branch information
arnaudbore authored Nov 8, 2024
2 parents 81765a2 + 4039503 commit 2443514
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', 'numpy'],
setup_requires=[], # replaced by PEP518 (pyproject.toml)
install_requires=external_dependencies,
entry_points={
'console_scripts': ["{}=scripts.{}:main".format(
Expand Down

0 comments on commit 2443514

Please sign in to comment.