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
1 changed files with 5 additions and 1 deletions

View File

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