3 ROOT=$(git rev-parse --show-toplevel)
 
   5 find $ROOT -name '*.py' | xargs etags -o ${ROOT}/TAGS
 
   6 find $ROOT/../librarian -name '*.py' | xargs etags -a -o ${ROOT}/TAGS
 
   7 if [ -n "$VIRTUAL_ENV" ]; then
 
   8   find ${VIRTUAL_ENV}/lib -name '*.py' |xargs etags -a -o ${ROOT}/TAGS
 
  10     echo "No Virtual env enabled, will not add it to TAGS"