summaryrefslogtreecommitdiffstats
path: root/debputy.sh
blob: 0efc2863901ee119094ca9f06152dd4382a96e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

DEBPUTY_PATH="$(dirname "$(readlink -f "$0")")/src"
if [ -z "${PYTHONPATH}" ]; then
  PYTHONPATH="${DEBPUTY_PATH}"
else
  PYTHONPATH="${DEBPUTY_PATH}:${PYTHONPATH}"
fi

export PYTHONPATH
python3 -m debputy.commands.debputy_cmd "$@"