mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-09 12:37:50 +08:00
Notes: - GCC 15 - Python 3.13 - MimerSQL with openSSL 3 - CINetworkTest skipped until newer ICU 77 version available - gstreamer-plugin-openh264 not available Repository names have changed: - Old: /etc/zypp/repos.d/repo-oss.repo - New: /etc/zypp/repos.d/openSUSE:repo-oss.repo Not installed by default, therefore no need to disable anymore: - balooctl - ntp Task-number: QTQAINFRA-7455 Task-number: QTQAINFRA-7452 Change-Id: I2af7f828e07d31d3622cf46e819318c71d28783e Reviewed-by: Simo Fält <simo.falt@qt.io> Reviewed-by: Elias Toivola <elias.toivola@qt.io>
23 lines
863 B
Bash
23 lines
863 B
Bash
#!/usr/bin/env bash
|
|
# Copyright (C) 2024 The Qt Company Ltd.
|
|
|
|
# provides: python development libraries
|
|
# version: provided by default Linux distribution repository
|
|
# needed to build pyside and emsdk for WebAssembly
|
|
|
|
set -ex
|
|
|
|
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
|
|
# install python3
|
|
sudo zypper -nq install python313-base python313-devel python313-pip python313-virtualenv python313-wheel
|
|
python3.13 -m pip install selenium netifaces scache brotli httpcompressionserver
|
|
python3.13 -m pip install -r "${BASH_SOURCE%/*}/../common/shared/requirements.txt"
|
|
|
|
SetEnvVar "PYTHON3_EXECUTABLE" "/usr/bin/python3.13"
|
|
|
|
# Provisioning during installation says:
|
|
# 'Defaulting to user installation because normal site-packages is not writeable'
|
|
# So it implicitly uses pip install --user, hence the path.
|
|
SetEnvVar "SBOM_PYTHON_APPS_PATH" "/home/qt/.local/bin"
|