mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 05:57:42 +08:00
Task-number: QTQAINFRA-4477
Change-Id: Ie8ce60c4e6d9b948be2ff813b599a2d8f6d75099
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit d9be0951b4)
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
19 lines
656 B
Bash
Executable File
19 lines
656 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# provides: python development libraries
|
|
# version: provided by default Linux distribution repository
|
|
# needed to build pyside
|
|
|
|
set -ex
|
|
|
|
sudo zypper -nq install python-devel python-xml
|
|
|
|
# install python3
|
|
sudo zypper -nq install python3-base python3 python3-pip python3-devel python3-virtualenv python3-wheel
|
|
|
|
# Install all needed packages in a special wheel cache directory
|
|
pip3 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"
|