diff --git a/pythonpath.sh b/pythonpath.sh index 7b26462..366341c 100644 --- a/pythonpath.sh +++ b/pythonpath.sh @@ -1,22 +1,23 @@ # usage: . pythonpath # # source this file as above (do not execute it) to set the PYTHONPATH # environment variable to the list of directories corresponding to the # repositories known to mr tmp_path=$( for dir in $(bin/ls-all-repos --absolute) ; do if echo "$dir" | grep -q -- '-template$' ; then continue fi if test -d "${dir}/swh/" ; then echo "$dir" fi done \ | paste -d':' -s) export PYTHONPATH="$tmp_path" +export PYTHONPATH="./snippets/tasks/:$PYTHONPATH" if [ "$1" = "-p" -o "$1" = "--print" ] ; then echo $PYTHONPATH fi