[gitg/wip/chergert/macos-build-fixes: 3/3] build: remove use of deprecated python3 module
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/chergert/macos-build-fixes: 3/3] build: remove use of deprecated python3 module
- Date: Fri, 4 Feb 2022 23:08:34 +0000 (UTC)
commit 8655a22498df87d0f41463cf6655cfeaa3721691
Author: Christian Hergert <christian hergert me>
Date: Fri Feb 4 15:06:56 2022 -0800
build: remove use of deprecated python3 module
This can use the non-deprecated python module now that 0.50
is used for the project.
libgitg-ext/meson.build | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/libgitg-ext/meson.build b/libgitg-ext/meson.build
index f49c1dbd..53cdb9ec 100644
--- a/libgitg-ext/meson.build
+++ b/libgitg-ext/meson.build
@@ -124,10 +124,11 @@ custom_target(
enable_python = get_option('python')
if enable_python
- python = import('python3')
+ python = import('python')
+ installation = python.find_installation('python3')
install_data(
'GitgExt.py',
- install_dir: join_paths(python.sysconfig_path('purelib'), 'gi', 'overrides'),
+ install_dir: join_paths(installation.get_path('purelib'), 'gi', 'overrides'),
)
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]