From 71deebb6c81367b773e390f4cc85638133d1972c Mon Sep 17 00:00:00 2001 From: thomasarsouze Date: Tue, 25 Jun 2024 10:41:49 +0200 Subject: [PATCH 1/2] Add numpy as dependency for the setup --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..15ce801 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,2 @@ +[build-system] +requires = ["setuptools", "wheel", "Cython>=0.29", "numpy >= 2"] \ No newline at end of file From fba1c5e55a6ff53aecef95efdc8216a9dbc0f210 Mon Sep 17 00:00:00 2001 From: Ghislain Vieilledent Date: Tue, 25 Jun 2024 16:32:27 -0400 Subject: [PATCH 2/2] Minor changes --- pyproject.toml | 2 +- setup.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 15ce801..ee65c53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,2 +1,2 @@ [build-system] -requires = ["setuptools", "wheel", "Cython>=0.29", "numpy >= 2"] \ No newline at end of file +requires = ["setuptools", "wheel", "Cython>=0.29", "numpy>=2"] \ No newline at end of file diff --git a/setup.py b/setup.py index f0a2b18..6ed03c7 100644 --- a/setup.py +++ b/setup.py @@ -18,6 +18,8 @@ # Get the numpy include directory. numpy_include_dir = numpy.get_include() + + # find_version def find_version(pkg_name): """Finding package version."""