From 006283ab614e856287f6565c9b806dad9689d6e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Martin=20Sl=C3=A5en?= Date: Sun, 5 Feb 2012 19:15:03 +0100 Subject: [PATCH] Created script which prints commands to run to setup the python environment for command-line execution. --- scripts/env_setup.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 scripts/env_setup.sh diff --git a/scripts/env_setup.sh b/scripts/env_setup.sh new file mode 100755 index 0000000..6bcaf6a --- /dev/null +++ b/scripts/env_setup.sh @@ -0,0 +1,8 @@ +#!/bin/bash + + +TMP1=$(bash -c "cd .. ; pwd ; echo \":\" ; cd .. ; pwd") +TMP2=$(echo $TMP1 | sed -e "s/ //g") + +echo "Run the following to setup the python environment." +echo "export PYTHONPATH=$TMP2"