mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-24 21:57:45 +08:00
Add a sbom_requirements.txt file and install it using the
various platform specific pip installations.
Partially restores b87b44168c but
without the wheel cache.
Pick-to: 6.8
Task-number: QTBUG-122899
Change-Id: I8002898866acbc226ffebb59dcf5b3a58237ea34
Reviewed-by: Toni Saario <toni.saario@qt.io>
20 lines
640 B
Bash
Executable File
20 lines
640 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (C) 2022 The Qt Company Ltd.
|
|
|
|
# provides: python development libraries
|
|
# version: provided by default Linux distribution repository
|
|
# needed to build pyside
|
|
|
|
set -ex
|
|
|
|
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
|
|
|
sudo zypper -nq install python-devel python-xml
|
|
|
|
# install python3
|
|
sudo zypper -nq install python311-base python311-devel python311-pip python311-virtualenv python311-wheel
|
|
python3.11 -m pip install selenium netifaces scache webdriver-manager
|
|
python3.11 -m pip install -r "${BASH_SOURCE%/*}/../common/shared/sbom_requirements.txt"
|
|
|
|
SetEnvVar "PYTHON3_EXECUTABLE" "/usr/bin/python3.11"
|