diff options
Diffstat (limited to 'coin/provisioning/common/windows/python.ps1')
-rw-r--r-- | coin/provisioning/common/windows/python.ps1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coin/provisioning/common/windows/python.ps1 b/coin/provisioning/common/windows/python.ps1 index b87a474f..d403a834 100644 --- a/coin/provisioning/common/windows/python.ps1 +++ b/coin/provisioning/common/windows/python.ps1 @@ -69,6 +69,10 @@ Run-Executable "$targetDir\python.exe" "-m ensurepip" Write-Host "Upgrade pip to the latest version available." Run-Executable "$targetDir\python.exe" "-m pip install --upgrade pip" +Write-Host "Configure pip" +Run-Executable "$targetDir\python.exe" "-m pip config --user set global.index https://ci-files01-hki.ci.qt.io/input/python_module_cache" +Run-Executable "$targetDir\python.exe" "-m pip config --user set global.extra-index-url https://pypi.org/simple/" + # Install python virtual env if (IsProxyEnabled) { $proxy = Get-Proxy |