--build is a deprecated option in pip, remove it
Change-Id: I8cb5f570431dcbd3389cd3b8d54d9ef40aa66dee
| ... | ... |
@@ -1523,9 +1523,8 @@ function pip_install {
|
| 1523 | 1523 |
http_proxy=$http_proxy \ |
| 1524 | 1524 |
https_proxy=$https_proxy \ |
| 1525 | 1525 |
no_proxy=$no_proxy \ |
| 1526 |
- $cmd_pip install --build=${pip_build_tmp} \
|
|
| 1527 |
- $pip_mirror_opt $@ \ |
|
| 1528 |
- && $sudo_pip rm -rf ${pip_build_tmp}
|
|
| 1526 |
+ $cmd_pip install \ |
|
| 1527 |
+ $pip_mirror_opt $@ |
|
| 1529 | 1528 |
|
| 1530 | 1529 |
if [[ "$INSTALL_TESTONLY_PACKAGES" == "True" ]]; then |
| 1531 | 1530 |
local test_req="$@/test-requirements.txt" |
| ... | ... |
@@ -1534,9 +1533,8 @@ function pip_install {
|
| 1534 | 1534 |
http_proxy=$http_proxy \ |
| 1535 | 1535 |
https_proxy=$https_proxy \ |
| 1536 | 1536 |
no_proxy=$no_proxy \ |
| 1537 |
- $cmd_pip install --build=${pip_build_tmp} \
|
|
| 1538 |
- $pip_mirror_opt -r $test_req \ |
|
| 1539 |
- && $sudo_pip rm -rf ${pip_build_tmp}
|
|
| 1537 |
+ $cmd_pip install \ |
|
| 1538 |
+ $pip_mirror_opt -r $test_req |
|
| 1540 | 1539 |
fi |
| 1541 | 1540 |
fi |
| 1542 | 1541 |
} |