Add explicit python3 to pylocation

This commit is contained in:
nolash 2021-12-06 10:32:18 +01:00
parent 8209f7b090
commit ef6ab7a4b2
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -33,10 +33,10 @@ def main():
EOF
pushd $d > /dev/null
python setup.py --quiet sdist
pip install -q dist/${u}-0.0.0.tar.gz
python3 setup.py --quiet sdist
pip3 install -q dist/${u}-0.0.0.tar.gz
p=`which $u.bin`
pip uninstall -q -y $u
pip3 uninstall -q -y $u
export PYTHON_BIN_PATH=$(dirname $p)
echo -n $PYTHON_BIN_PATH
popd > /dev/null