Fixed pip with http(s)_proxy
pip failed to insall packages with the http_proxy and https_proxy localrc environment variables. indeed, the case of the variables was uppercase and these variables are normally lowercase. Change-Id: I73054aafd353ccf53986f0ec05426f6a2c4e2240 Closes-Bug: 1307492
This commit is contained in:
		@@ -1231,9 +1231,9 @@ function pip_install {
 | 
			
		||||
 | 
			
		||||
    $xtrace
 | 
			
		||||
    $SUDO_PIP PIP_DOWNLOAD_CACHE=${PIP_DOWNLOAD_CACHE:-/var/cache/pip} \
 | 
			
		||||
        HTTP_PROXY=$http_proxy \
 | 
			
		||||
        HTTPS_PROXY=$https_proxy \
 | 
			
		||||
        NO_PROXY=$no_proxy \
 | 
			
		||||
        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}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user