From c53e83601a4ffc572ae99b3a4f330a940066cc1d Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 30 Sep 2014 22:37:52 -0400 Subject: [PATCH] remove deprecated pip option --build is a deprecated option in pip, remove it Change-Id: I8cb5f570431dcbd3389cd3b8d54d9ef40aa66dee --- functions-common | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/functions-common b/functions-common index 6b1f473004..4c61d6a8d2 100644 --- a/functions-common +++ b/functions-common @@ -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 }