meson: use 'python' module to find python instead of deprecated 'python3' one
authorTim-Philipp Müller <tim@centricular.com>
Mon, 8 Oct 2018 22:25:21 +0000 (23:25 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 8 Oct 2018 22:28:59 +0000 (23:28 +0100)
https://github.com/mesonbuild/meson/pull/4169

meson.build

index 2a9f274..68fe85a 100644 (file)
@@ -190,7 +190,7 @@ else:
         prefix, 'Lib', 'Python%d%d' % (version.major, version.minor),
         'site-packages', 'gi', 'overrides'))
 '''
-python3 = import('python3').find_python()
+python3 = import('python').find_installation()
 pygi_override_dir = get_option('pygi-overrides-dir')
 if pygi_override_dir == ''
     cres = run_command(python3, '-c', override_detector, get_option('prefix'))