aboutsummaryrefslogtreecommitdiff
path: root/playground/env.sh
diff options
context:
space:
mode:
Diffstat (limited to 'playground/env.sh')
-rw-r--r--playground/env.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/playground/env.sh b/playground/env.sh
new file mode 100644
index 0000000..076803f
--- /dev/null
+++ b/playground/env.sh
@@ -0,0 +1,8 @@
+PYTHON=${PYTHON:-python3}
+PLAYGROUND_PATH=$(cd $(dirname -- "$0") && pwd)
+ROOT_PATH=$PLAYGROUND_PATH/..
+DATA_PATH=$PLAYGROUND_PATH/data
+
+export PYTHONPATH=$ROOT_PATH/src_py
+
+mkdir -p $DATA_PATH