aboutsummaryrefslogtreecommitdiffstats
path: root/maintenance/mkvenv-pyside.sh
blob: 06aa82ef14c0d814c83f0a5f68e536eeddae89e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

basedir="$(realpath -e "$0" | xargs dirname)"
rootdir="$basedir/.."

die()
{
	echo "ERROR: $*" >&2
	exit 1
}

venvdir="$rootdir/venv-pyside"

virtualenv --clear --system-site-packages "$venvdir" || die "virtualenv failed."
. "$venvdir"/bin/activate || die "venv activate failed."
pip3 install PySide6 || die "pip install PySide6 failed."
bues.ch cgit interface