From 8cb977f22f008a4262c38ee7ec2ef23002bebbc1 Mon Sep 17 00:00:00 2001 From: Bjarne Date: Tue, 20 Sep 2022 10:48:44 +0200 Subject: [PATCH] Re-introducing fix from e9fe3dc --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c0605e0..2111d7d 100644 --- a/setup.py +++ b/setup.py @@ -97,8 +97,7 @@ def ext_modules(): if java_home is None: raise Exception("JVM not found") jdk_home = find_jdk() - from numpy import get_include - include_dirs = [get_include()] + get_jvm_include_dirs() + include_dirs = get_jvm_include_dirs() libraries = None library_dirs = None javabridge_sources = ['_javabridge.c']