diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-12-27 18:49:53 +0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2022-12-28 18:52:52 +0300 |
commit | 72fa5fa922c6c6df49e80919157a141173f8d0a3 (patch) | |
tree | 904dd916d86e9845f280dc6c75da29a68ae8304b /meson.build | |
parent | ae9ac872c0ff542559228d48fb13a00c1be7764f (diff) |
meson: Require tomllib / tomli python modules explicitly
These are required by dependencies.py
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1028>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 05dec1073..e700d2eed 100644 --- a/meson.build +++ b/meson.build @@ -4,7 +4,11 @@ project('gst-plugins-rs', version: '0.9.0-alpha.1', meson_version : '>= 0.60') -python = import('python').find_installation() +# dependencies.py needs a toml parsing module +python = import('python').find_installation(modules: ['tomllib'], required: false) +if not python.found() + python = import('python').find_installation(modules: ['tomli']) +endif fs = import('fs') host_system = host_machine.system() |