From d5995b9302052ed55c64c45c7159892c4d614c59 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 9 May 2025 08:53:31 -0400 Subject: [PATCH] python: Fix usage of our overrides from devenv Part-of: --- subprojects/gst-python/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/subprojects/gst-python/meson.build b/subprojects/gst-python/meson.build index 996c6b6f88..ce5505590d 100644 --- a/subprojects/gst-python/meson.build +++ b/subprojects/gst-python/meson.build @@ -149,3 +149,6 @@ endif if not get_option('tests').disabled() subdir('testsuite') endif + +# This makes "import gi" load or overrides, see gi/__init__.py +meson.add_devenv({'PYTHONPATH': meson.current_source_dir()}, method: 'prepend')