From 21e2d5e308d3ced763aa1daf5d21bc544856c3c5 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 8 Feb 2013 23:23:47 -0500 Subject: [PATCH] build_osx: use system wide installation, remove parts of the path to catch different versions --- interfaces/python/build_osx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/python/build_osx b/interfaces/python/build_osx index 305bb39d..7cc37487 100755 --- a/interfaces/python/build_osx +++ b/interfaces/python/build_osx @@ -3,7 +3,7 @@ set -e set -x -export CFLAGS="-I/Users/piem/Library/Python/2.7/site-packages/numpy-1.8.0.dev_436a28f_20120710-py2.7-macosx-10.7-x86_64.egg/numpy/core/include/ -arch i386 -arch x86_64" +export CFLAGS="-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy-1.8.0*/numpy/core/include/ -arch i386 -arch x86_64" export LDFLAGS=-L../../build/src/ python setup.py clean build export PYTHONPATH=./build/lib.macosx-10.6-intel-2.7:$PYTHONPATH -- 2.11.0