From 5abf931cb3073254cd559d3ef0e470d4c2378950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simonis?= Date: Thu, 10 Oct 2024 15:26:05 +0200 Subject: [PATCH] Disable NumPy warning --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index c10b45c8..de84e841 100644 --- a/setup.py +++ b/setup.py @@ -82,7 +82,8 @@ def get_extensions(is_test): language="c++", include_dirs=include_dirs, extra_compile_args=compile_args, - extra_link_args=link_args + extra_link_args=link_args, + define_macros=[("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")] ) ]