Skip to content

Commit

Permalink
updates for latest cython/numpy/scipy
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cortes committed Jul 18, 2023
1 parent 1b0750f commit 1aad70f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build-system]
requires = ["cython", "setuptools", "wheel", "oldest-supported-numpy", "scipy"]
requires = ["cython>=3.0.0", "setuptools", "wheel", "numpy>=1.25", "scipy>=1.11.1"]
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
cython
numpy
scipy
cython>=3.0.0
numpy>=1.25
scipy>=1.11.1
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ def add_restrict_qualifier(self):
install_requires = ["numpy", "cython", "scipy"],
define_macros = [
("FOR_PYTHON", None),
("NDEBUG", None)
("NDEBUG", None),
("CYTHON_EXTERN_C", 'extern "C"'),
("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")
]
)]
)
Expand Down

0 comments on commit 1aad70f

Please sign in to comment.