From ef6ab7a4b295df5359d978e6a1f521b8b832e259 Mon Sep 17 00:00:00 2001 From: nolash Date: Mon, 6 Dec 2021 10:32:18 +0100 Subject: [PATCH] Add explicit python3 to pylocation --- aux/pylocation/pylocation.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aux/pylocation/pylocation.sh b/aux/pylocation/pylocation.sh index 5534062..8ac62ea 100644 --- a/aux/pylocation/pylocation.sh +++ b/aux/pylocation/pylocation.sh @@ -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