From: Paul Brossier Date: Sat, 9 Feb 2013 04:23:47 +0000 (-0500) Subject: build_osx: use system wide installation, remove parts of the path to catch different... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=21e2d5e308d3ced763aa1daf5d21bc544856c3c5;p=aubio.git build_osx: use system wide installation, remove parts of the path to catch different versions --- 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