#!/bin/sh APP=`basename $0` DIR=`dirname $0` cd "$DIR" export PYTHONPATH="$PYTHONPATH:." exec /usr/bin/env python2 -OO "$APP.py" "$@"