remove deprecated pip option
--build is a deprecated option in pip, remove it Change-Id: I8cb5f570431dcbd3389cd3b8d54d9ef40aa66dee
This commit is contained in:
parent
8e087fa83b
commit
c53e83601a
@ -1523,9 +1523,8 @@ function pip_install {
|
||||
http_proxy=$http_proxy \
|
||||
https_proxy=$https_proxy \
|
||||
no_proxy=$no_proxy \
|
||||
$cmd_pip install --build=${pip_build_tmp} \
|
||||
$pip_mirror_opt $@ \
|
||||
&& $sudo_pip rm -rf ${pip_build_tmp}
|
||||
$cmd_pip install \
|
||||
$pip_mirror_opt $@
|
||||
|
||||
if [[ "$INSTALL_TESTONLY_PACKAGES" == "True" ]]; then
|
||||
local test_req="$@/test-requirements.txt"
|
||||
@ -1534,9 +1533,8 @@ function pip_install {
|
||||
http_proxy=$http_proxy \
|
||||
https_proxy=$https_proxy \
|
||||
no_proxy=$no_proxy \
|
||||
$cmd_pip install --build=${pip_build_tmp} \
|
||||
$pip_mirror_opt -r $test_req \
|
||||
&& $sudo_pip rm -rf ${pip_build_tmp}
|
||||
$cmd_pip install \
|
||||
$pip_mirror_opt -r $test_req
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user