Set default pythonpath

This commit is contained in:
nolash 2021-09-13 16:42:00 +02:00
parent 4ec8eefe7c
commit e73924622c
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -1,10 +1,14 @@
#!/bin/bash
set -a
set -e
set -x
#export PYTHONPATH=${PYTHONPATH:.}
default_pythonpath=$PYTHONPATH:.
export PYTHONPATH=${default_pythonpath:-.}
>&2 echo using pythonpath $PYTHONPATH
for f in `ls tests/*.py`; do
python $f
done
set +x
set +e
set +a