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