[totem/wip/hadess/build-warnings: 3/3] build: Fix obsolescence warning with Python 3 check



commit c16667364bcc0ee1e683a7516f62031b5d75e6fa
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Feb 11 21:43:50 2019 +0100

    build: Fix obsolescence warning with Python 3 check
    
    DEPRECATION: Project targetting '>= 0.43.0' but tried to use feature deprecated since '0.48.0': python3 
module

 meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index ebba26438..aea893764 100644
--- a/meson.build
+++ b/meson.build
@@ -3,7 +3,7 @@ project(
   version: '3.31.90',
   license: 'GPL2+ with exception',
   default_options: 'buildtype=debugoptimized',
-  meson_version: '>= 0.43.0'
+  meson_version: '>= 0.46.0'
 )
 
 totem_version = meson.project_version()
@@ -181,7 +181,7 @@ python_deps = []
 
 python_option = get_option('enable-python')
 if python_option != 'no'
-  python = import('python3').find_python()
+  python = import('python').find_installation('python3')
   if python.found()
     python_req_version = '>= 3.0'
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]