Added basic script to run python scripts

This commit is contained in:
Christian Wolf 2022-11-19 07:38:48 +01:00
parent 4837e54081
commit a26444e299

13
solo_runner.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
_dir="$(dirname "$0")"
if [ -n "$PTHONPATH" ]; then
PYTHONPATH="$PYTHONPATH:$_dir/src"
else
PYTHONPATH="$_dir/src"
fi
export PYTHONPATH
python -m main "$@"