build_osx: use xcode numpy
authorPaul Brossier <piem@piem.org>
Sat, 9 Feb 2013 20:56:59 +0000 (15:56 -0500)
committerPaul Brossier <piem@piem.org>
Sat, 9 Feb 2013 20:56:59 +0000 (15:56 -0500)
interfaces/python/build_osx

index 7cc374876560f93c3aa49ef2e8eadcc2d87a0d94..ccfa68af699272cedd28e14146268f78702b1277 100755 (executable)
@@ -3,7 +3,8 @@
 set -e
 set -x
 
-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 CFLAGS="-I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy/core/include/"
+export CFLAGS="-arch i386 -arch x86_64 $CFLAGS"
 export LDFLAGS=-L../../build/src/
 python setup.py clean build
 export PYTHONPATH=./build/lib.macosx-10.6-intel-2.7:$PYTHONPATH