python/env_osx: env only, absolute path
authorPaul Brossier <piem@piem.org>
Thu, 28 Feb 2013 18:37:22 +0000 (13:37 -0500)
committerPaul Brossier <piem@piem.org>
Thu, 28 Feb 2013 18:37:22 +0000 (13:37 -0500)
python/env_osx

index 3c53f87a800f5f82d65f06e121364d2847e19c10..dce2709c332f4e96375f2cfd31086a17402cb649 100755 (executable)
@@ -1,9 +1,4 @@
 #! /bin/sh
 
-set -e
-set -x
-
-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
+export PYTHONPATH=$PWD/build/*:$PWD/tests:$PYTHONPATH
+export DYLD_LIBRARY_PATH=$PWD/../build/src