From 67b514933fcbceff31a2b144148213c2242ef5cf Mon Sep 17 00:00:00 2001 From: Beth Cimini Date: Wed, 20 Jun 2018 15:56:18 -0400 Subject: [PATCH] find numpy and include it --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e74eb07..05f709b 100644 --- a/setup.py +++ b/setup.py @@ -94,7 +94,8 @@ def ext_modules(): if java_home is None: raise Exception("JVM not found") jdk_home = find_jdk() - include_dirs = get_jvm_include_dirs() + from numpy import get_include + include_dirs = [get_include()] + get_jvm_include_dirs() libraries = None library_dirs = None javabridge_sources = ['_javabridge.c']