1 pysources = ['Gst.py', 'GstPbutils.py']
2 install_data(pysources,
3 install_dir: pygi_override_dir)
5 gstpython = python.extension_module('_gi_gst',
6 sources: ['gstmodule.c'],
8 install_dir : pygi_override_dir,
9 include_directories : [configinc],
10 dependencies : [gst_dep, python_dep, pygobject_dep])
12 gi_overrides_build_dir = meson.current_build_dir()
14 # Workaround to get uninstalled working.
15 foreach source: pysources
16 run_command(python, '-c', 'import os; os.symlink("@0@/@1@", "@2@/@3@")'.format(
17 meson.current_source_dir(), source,
18 gi_overrides_build_dir, source))