scripts.cfg 339 B

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