python/env_linux: env only, absolute path
authorPaul Brossier <piem@piem.org>
Thu, 28 Feb 2013 18:39:19 +0000 (13:39 -0500)
committerPaul Brossier <piem@piem.org>
Thu, 28 Feb 2013 18:39:19 +0000 (13:39 -0500)
python/build_linux [deleted file]
python/env_linux [new file with mode: 0755]
python/env_osx

diff --git a/python/build_linux b/python/build_linux
deleted file mode 100755 (executable)
index f0751dd..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /bin/sh
-
-set -e
-set -x
-
-python setup.py clean build
-export PYTHONPATH=./build/lib.linux-x86_64-2.7/:./tests
-export LD_LIBRARY_PATH=../build/src/
-./run_all_tests --verbose
diff --git a/python/env_linux b/python/env_linux
new file mode 100755 (executable)
index 0000000..9f3cab8
--- /dev/null
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+export PYTHONPATH=$PWD/build/lib.*/:$PWD/tests:$PYTHONPATH
+export LD_LIBRARY_PATH=$PWD/../build/src/
index dce2709c332f4e96375f2cfd31086a17402cb649..d15cc8a55bd9c40e9ff0869a3d0bf89758ec67e7 100755 (executable)
@@ -1,4 +1,4 @@
 #! /bin/sh
 
-export PYTHONPATH=$PWD/build/*:$PWD/tests:$PYTHONPATH
+export PYTHONPATH=$PWD/build/lib.*:$PWD/tests:$PYTHONPATH
 export DYLD_LIBRARY_PATH=$PWD/../build/src