Use python3
python2 is EOL, specify the python scripts to use python3.
Tested: Verify it builds fine in local CI. With bitbake recipe changes,
verify it builds OK with python3native.
Signed-off-by: Lei YU <mine260309@gmail.com>
Change-Id: Icd5d10193e9323bbdbcd854e9027e014e01a1829
diff --git a/meson.build b/meson.build
index 9cfb46c..92c1450 100644
--- a/meson.build
+++ b/meson.build
@@ -33,7 +33,7 @@
gtest = dependency('gtest', main: true, disabler: true, required: build_tests)
phosphor_dbus_interfaces = dependency('phosphor-dbus-interfaces')
phosphor_logging = dependency('phosphor-logging')
-prog_python = import('python').find_installation('python')
+prog_python = import('python').find_installation('python3')
sdbusplus = dependency('sdbusplus')
sdbuspp = find_program('sdbus++')
sdeventplus = dependency('sdeventplus')