mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-05 13:16:40 +08:00
Configure pip for internal cache
Task-number: QTQAINFRA-5531 Change-Id: I89c5502f62b2777a06b8f301a9fbaca1a3f8859d Reviewed-by: Ville-Pekka Karhu <ville-pekka.karhu@qt.io>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user