ref: 6882e73933e2972fa93db89c7a1d8087023b0f27
parent: 39e6f8431e0ae9e9afd2ae5f7c136ce2bc3e0ec8
author: Paul Brossier <piem@piem.org>
date: Tue Jul 10 15:43:01 EDT 2012
build_osx: add sample script to build and run tests on osx
--- /dev/null
+++ b/interfaces/python/build_osx
@@ -1,0 +1,8 @@
+#! /bin/sh
+
+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/
+export LDFLAGS=-L../../build/src/
+python setup.py clean build
+export PYTHONPATH=./build/lib.macosx-10.6-intel-2.7:$PYTHONPATH
+export DYLD_LIBRARY_PATH=../../build/src
+./run_all_tests --verbose