local_install.sh 330 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -e

if [ -z "${PYTHON}" ]; then
    which python >/dev/null 2>&1 && PYTHON=$(which python)
    which python2 >/dev/null 2>&1 && PYTHON=$(which python2)
    which python2.7 >/dev/null 2>&1 && PYTHON=$(which python2.7)
fi

10
11
${PYTHON} "$(dirname $0)/stale_pyc.py"

12
exec "${PYTHON}" "$(dirname $0)/local_install.py" "$@"