Add explicit python3 to pylocation
This commit is contained in:
parent
8209f7b090
commit
ef6ab7a4b2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user