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')