build_osx: use system wide installation, remove parts of the path to catch different...
authorPaul Brossier <piem@piem.org>
Sat, 9 Feb 2013 04:23:47 +0000 (23:23 -0500)
committerPaul Brossier <piem@piem.org>
Sat, 9 Feb 2013 04:23:47 +0000 (23:23 -0500)
interfaces/python/build_osx

index 305bb39d980a7b993f2deb34e2bb96b61be7e61f..7cc374876560f93c3aa49ef2e8eadcc2d87a0d94 100755 (executable)
@@ -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