Skip to content

meson: use the new 'python' module instead of the 'python3' one

Christoph Reiter requested to merge creiter/glib:meson-python-module into master

The new python module, added with 0.46, works with Python 2 and 3 and allows to pass a path for the interpreter to use, if the need arises.

Previously the meson build set PYTHON, used in the shebang line of the scripts installed by glib, to the full path of the interpreter. The new meson module doesn't expose that atm, but we should set it to a executable name anyway, and not a full path.

Edited by Christoph Reiter

Merge request reports