mirror of
git://code.qt.io/qt/qt5.git
synced 2026-03-17 01:36:32 +08:00
Install python3.8 compatible wheels to wheel cache
Pick-to: 6.3 Change-Id: I42283e1aa9d731e86adccaef3baed25713c9b60d Reviewed-by: Dominik Holland <dominik.holland@qt.io>
This commit is contained in:
@@ -167,12 +167,15 @@ sudo dnf -y module install nodejs:12
|
||||
sudo pip3 install --upgrade pip
|
||||
sudo pip3 install virtualenv wheel
|
||||
# Just make sure we have virtualenv to run with python3.8 -m virtualenv
|
||||
python3.8 -m pip install virtualenv --user
|
||||
sudo python3.8 -m pip install virtualenv wheel
|
||||
|
||||
sudo /usr/bin/pip3 install wheel
|
||||
# Install all needed packages in a special wheel cache directory
|
||||
/usr/bin/pip3 wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
|
||||
|
||||
# Install 3.8 compatible wheels
|
||||
python3.8 -m pip wheel --wheel-dir "$HOME/python3-wheels" -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
|
||||
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|
||||
|
||||
Reference in New Issue
Block a user