mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 22:17:45 +08:00
Latest pip version is not installed during python installation. Pip need to be reinstalled after python installation because older version of pip seems to cause installation problems randomly at least with python 2.7 Task-number: QTQAINFRA-1902 Change-Id: If3d74130ecee6e410c64cad309feff9edc0e5db0 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Simo Fält <simo.falt@qt.io>
12 lines
211 B
Bash
Executable File
12 lines
211 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
function InstallPip {
|
|
|
|
python=$1
|
|
|
|
# Will install pip utility for python
|
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
|
sudo "$python" get-pip.py
|
|
rm get-pip.py
|
|
}
|