[Spice-devel] [PATCH spice-gtk 2/2] meson: Update python module usage

Eduardo Lima (Etrunko) etrunko at redhat.com
Thu Feb 7 15:01:25 UTC 2019


Since version 0.48, the python3 module has been deprecated:

https://mesonbuild.com/Release-notes-for-0-48-0.html#python3-module-is-deprecated

Signed-off-by: Eduardo Lima (Etrunko) <etrunko at redhat.com>
---
 src/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/meson.build b/src/meson.build
index a5746f3..9217955 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -286,7 +286,7 @@ if spice_gtk_has_gtk
   endif
 
   # keymaps
-  python = import('python3').find_python()
+  python = import('python').find_installation()
   keymapgen = files('./keycodemapdb/tools/keymap-gen')
   keymapcsv = files('./keycodemapdb/data/keymaps.csv')
   keymaps = ['xorgevdev',
-- 
2.20.1



More information about the Spice-devel mailing list