diff options
author | Heikki Halmet <heikki.halmet@qt.io> | 2019-08-01 14:51:40 +0300 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2019-09-17 08:57:18 +0000 |
commit | 0cf3fdabe315d62066a7642787a5058a737a79e4 (patch) | |
tree | a2788170373b2044db737868fcece9062e0d8fdb /coin/provisioning/common/windows/python.ps1 | |
parent | a3136bdbfef242339c002630f51b4bc0f5c05503 (diff) | |
download | qt5-0cf3fdabe315d62066a7642787a5058a737a79e4.tar.gz |
Provisioning: Upgrade Python pip version for Windows machines
Task-number: QTQAINFRA-2564
Change-Id: I10402bb3169b483c71e44db7ecba443eb4f46dc1
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'coin/provisioning/common/windows/python.ps1')
-rw-r--r-- | coin/provisioning/common/windows/python.ps1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/coin/provisioning/common/windows/python.ps1 b/coin/provisioning/common/windows/python.ps1 index aee4c199..342358d5 100644 --- a/coin/provisioning/common/windows/python.ps1 +++ b/coin/provisioning/common/windows/python.ps1 @@ -1,6 +1,6 @@ ############################################################################# ## -## Copyright (C) 2016 The Qt Company Ltd. +## Copyright (C) 2019 The Qt Company Ltd. ## Contact: http://www.qt.io/licensing/ ## ## This file is part of the provisioning scripts of the Qt Toolkit. @@ -75,6 +75,9 @@ if (($archVer -eq 32) -And (Is64BitWinHost)) { 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" + # Install python virtual env if (IsProxyEnabled) { $proxy = Get-Proxy |