- #! /bin/sh
- DIR=$(dirname $0)
- BASE_DIR=$(readlink -f $DIR/..)
- UTILS_DIR=$BASE_DIR/utils
- PYTHONENV_DIR=${BASE_DIR}/python-env
- # use the virtual python environnement in $VAR_DIR/python-env
- [ ! -e "$PYTHONENV_DIR/bin/activate" ] || . $PYTHONENV_DIR/bin/activate
- # Include the project python path
- export PYTHONPATH="$BASE_DIR:$PYTHONPATH"
|