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

View File

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