aboutsummaryrefslogtreecommitdiff
path: root/playground/env.sh
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-07-28 01:43:55 +0200
committerbozo.kopic <bozo@kopic.xyz>2021-07-29 00:01:57 +0200
commit1e874e790c12839695761a654b44fb427149a353 (patch)
tree6942441ac511ec1417b2434b111101fa8d7f7e68 /playground/env.sh
init
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