14 lines
178 B
Bash
14 lines
178 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
_dir="$(dirname "$0")"
|
||
|
|
||
|
if [ -n "$PTHONPATH" ]; then
|
||
|
PYTHONPATH="$PYTHONPATH:$_dir/src"
|
||
|
else
|
||
|
PYTHONPATH="$_dir/src"
|
||
|
fi
|
||
|
|
||
|
export PYTHONPATH
|
||
|
|
||
|
python -m main "$@"
|