[gnome-control-center] build: Use non-deprecated python module to search for python
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] build: Use non-deprecated python module to search for python
- Date: Sat, 12 Sep 2020 16:31:21 +0000 (UTC)
commit 2e37c9d87c5672d250d9b46a0019b2325e23aa5b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Sep 12 13:22:33 2020 -0300
build: Use non-deprecated python module to search for python
meson.build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 250f617c7..d55f33162 100644
--- a/meson.build
+++ b/meson.build
@@ -30,8 +30,8 @@ enable_tracing = get_option('tracing')
config_h = configuration_data()
-py3 = import('python3')
-python = py3.find_python()
+py = import('python')
+python = py.find_installation('python3')
config_h.set_quoted('TEST_NM_PYTHON', python.path())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]