meson: use new 'python' module instead of deprecated 'python3' one
authorTim-Philipp Müller <tim@centricular.com>
Mon, 8 Oct 2018 19:55:08 +0000 (20:55 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 8 Oct 2018 19:55:08 +0000 (20:55 +0100)
https://github.com/mesonbuild/meson/pull/4169

meson.build

index 837a61e..2313358 100644 (file)
@@ -182,5 +182,5 @@ configinc = include_directories('.')
 plugins_install_dir = '@0@/gstreamer-1.0'.format(get_option('libdir'))
 subdir('ext/libav/')
 
-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")')