#!/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"
