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

Marc-André Lureau marcandre.lureau at gmail.com
Thu Feb 7 15:38:04 UTC 2019


On Thu, Feb 7, 2019 at 4:01 PM Eduardo Lima (Etrunko)
<etrunko at redhat.com> wrote:
>
> 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>

ack

> ---
>  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
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel



-- 
Marc-André Lureau


More information about the Spice-devel mailing list