[gnomemm-website] meson.build: Don't use deprecated python3.path()
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnomemm-website] meson.build: Don't use deprecated python3.path()
- Date: Sun, 13 Feb 2022 09:28:06 +0000 (UTC)
commit d5aecbaa9fc4b8748eab4c696feaefe986ec9485
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Sun Feb 13 10:24:59 2022 +0100
meson.build: Don't use deprecated python3.path()
meson.build | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 2afdc92..b657f2f 100644
--- a/meson.build
+++ b/meson.build
@@ -2,7 +2,8 @@
project('gnomemm-website',
version: '2.91.4',
- meson_version: '>= 0.50.0', # required for python3.path()
+ meson_version: '>= 0.55.0', # required for meson.add_dist_script(python3, ...)
+ # and meson.add_install_script(python3, ...)
)
python3 = import('python').find_installation()
@@ -52,7 +53,7 @@ if can_add_dist_script
]
# Modify the contents of the distribution directory.
meson.add_dist_script(
- python3.path(), extra_dist_cmd,
+ python3, extra_dist_cmd,
project_source_root,
project_build_root,
dont_distribute,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]