summaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/python.ps1
diff options
context:
space:
mode:
authorTony Sarajärvi <tony.sarajarvi@qt.io>2018-01-02 12:58:13 +0200
committerLiang Qi <liang.qi@qt.io>2018-02-23 21:00:11 +0000
commit54d8396d681c97ace18e2710394b8b34fa8f0411 (patch)
tree7140a56a74ffcf3c8ef60740f159423b3d63b55d /coin/provisioning/common/windows/python.ps1
parent3a3c6fb2b37613805ca5a8a3f1adb8d146c66224 (diff)
Set proxy on Windows VMs while provisioning
Task-number: QTQAINFRA-1669 Change-Id: Ia6b5b668051642a3729d7c7c83c69d8797045847 Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
Diffstat (limited to 'coin/provisioning/common/windows/python.ps1')
-rw-r--r--coin/provisioning/common/windows/python.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/coin/provisioning/common/windows/python.ps1 b/coin/provisioning/common/windows/python.ps1
index c3eba2d8..fe75aa35 100644
--- a/coin/provisioning/common/windows/python.ps1
+++ b/coin/provisioning/common/windows/python.ps1
@@ -63,4 +63,8 @@ Add-Path "C:\Python27;C:\Python27\Scripts"
C:\Python27\python.exe -m ensurepip
# Install python virtual env
+#if ( isProxyEnabled ) {
+# echo "Using proxy with pip"
+# $pip_args = "--proxy=" + (getProxy)
+#}
C:\Python27\Scripts\pip.exe install virtualenv