#!/usr/bin/env bash # Called from multiple CI pipelines in .github/workflows set -xeuo pipefail sudo apt update # native deps # gettext required to generate translations, others are python deps sudo apt-get install -y gettext python3-evdev python3-dasbus python3-pydantic python3-gi gir1.2-gtk-3.0 gir1.2-gtksource-4 # ensure pip and setuptools/wheel up to date so can install all pip modules sudo apt-get install python3-pip python3-wheel # install test deps which aren't in pyproject.toml python -m pip install psutil pylint-pydantic