Merge branch 'meson-python-module' into 'master'

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

Closes #1455

See merge request GNOME/glib!187
This commit is contained in:
Nirbheek Chauhan
2018-07-23 11:17:47 +00:00
4 changed files with 7 additions and 8 deletions

View File

@@ -1800,7 +1800,9 @@ elif meson.get_cross_property('have_strlcpy', false)
glib_conf.set('HAVE_STRLCPY', 1)
endif
python = import('python3').find_python()
python = import('python').find_installation('python3')
# used for '#!/usr/bin/env <name>'
python_name = 'python3'
# Determine which user environment-dependent files that we want to install
have_bash = find_program('bash', required : false).found() # For completion scripts