Added basic script to run python scripts
This commit is contained in:
parent
4837e54081
commit
a26444e299
13
solo_runner.sh
Executable file
13
solo_runner.sh
Executable 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 "$@"
|
Loading…
Reference in New Issue
Block a user