meson: use new 'python' module instead of deprecated 'python3' one
authorTim-Philipp Müller <tim@centricular.com>
Thu, 21 Mar 2019 13:31:57 +0000 (13:31 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 21 Mar 2019 14:21:10 +0000 (14:21 +0000)
meson.build

index 6d8f1f8..52f2a88 100644 (file)
@@ -146,5 +146,5 @@ if not get_option('examples').disabled()
   subdir('tests')
 endif
 
-python3 = import('python3').find_python()
+python3 = import('python').find_installation()
 run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')