simple-init: Use wrappers to call pip for glean install
Use the wrapper calls from Ia267a60eecfa8f4071dd477d86daebe07e9a7e38 to install glean. Using this wrapper means we cover all cases without more and more branches; it should work for python2, python3 and also the special case of RHEL/CentOS where dib-python points to the special /usr/libexec/platform-python (which is python3.6 with inbuilt pip) Change-Id: If624e8bb66ce0761fc0d5f34c2bed8b93a7daeee
This commit is contained in:
parent
cbe1a0fc6b
commit
643415f366
2 changed files with 2 additions and 10 deletions
|
@ -21,8 +21,4 @@ fi
|
|||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [ "$DIB_PYTHON_VERSION" == "3" ]; then
|
||||
pip3 install /tmp/glean.git
|
||||
else
|
||||
pip install /tmp/glean.git
|
||||
fi
|
||||
$DIB_PYTHON_PIP install /tmp/glean.git
|
||||
|
|
|
@ -21,8 +21,4 @@ fi
|
|||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
if [ "$DIB_PYTHON_VERSION" == "3" ]; then
|
||||
pip3 install glean
|
||||
else
|
||||
pip install glean
|
||||
fi
|
||||
$DIB_PYTHON_PIP install glean
|
||||
|
|
Loading…
Reference in a new issue