aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/common/windows/python.ps1
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2019-10-01 11:25:16 +0200
committerLiang Qi <liang.qi@qt.io>2019-10-03 06:12:24 +0200
commitec7bf6356ccbdaf14f5274e36f49d73013fc5a06 (patch)
tree5dfb5ecf03920307bb56d8df4ac87155d0efa3a2 /coin/provisioning/common/windows/python.ps1
parent7cd2473966b08aab3117dc58025a209c68283a44 (diff)
parent29befcc995ebb3572ebe082c28e0e01f47b2baa2 (diff)
Merge "Merge remote-tracking branch 'origin/5.13' into 5.14"
Diffstat (limited to 'coin/provisioning/common/windows/python.ps1')
-rw-r--r--coin/provisioning/common/windows/python.ps15
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