summaryrefslogtreecommitdiff
path: root/tools/ci-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci-install.sh')
-rwxr-xr-xtools/ci-install.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/ci-install.sh b/tools/ci-install.sh
index ce9864b..f233369 100755
--- a/tools/ci-install.sh
+++ b/tools/ci-install.sh
@@ -162,6 +162,24 @@ case "$ci_distro" in
have_system_meson=true
;;
esac
+
+ # Needed for distcheck
+ case "$ci_suite" in
+ (buster|focal|bullseye)
+ runuser -u user -- \
+ "${dbus_ci_system_python-python3}" -m pip install --user \
+ pyproject_metadata \
+ tomli \
+ ${NULL}
+ ;;
+
+ (*)
+ $sudo apt-get -qq -y install \
+ python3-pyproject-metadata \
+ python3-tomli \
+ ${NULL}
+ ;;
+ esac
;;
(*)