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

This commit is contained in:
Tim-Philipp Müller 2019-03-21 13:31:57 +00:00
parent bc8ddef96c
commit 9cbdb7b504

View 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")')