Files
qt5/coin/provisioning/qtci-linux-openSUSE-15.5-x86_64/08-pythondev.sh
Piotr Wiercinski a84104df1c Provisioning: Install webdriver-manager for Python3
WebDriverManager will be used to install correct version of
chromedriver for WebAssembly Selenium testing.

Task-number: QTBUG-122729
Change-Id: I49b61da3d8dd20b36ec6965c258a6a608ac33a63
Reviewed-by: Simo Fält <simo.falt@qt.io>
2024-03-12 14:37:27 +00:00

19 lines
552 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
SetEnvVar "PYTHON3_EXECUTABLE" "/usr/bin/python3.11"