[libgweather/clang-format: 2/3] build: Require pygobject
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgweather/clang-format: 2/3] build: Require pygobject
- Date: Sat, 16 Oct 2021 23:05:05 +0000 (UTC)
commit b30bb93b630cebb17c33c4b872ff24da191904a1
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Oct 16 23:55:47 2021 +0100
build: Require pygobject
The locations binary blob generator depends on pygobject, so we should
actually check for its presence during the configuration phase.
Otherwise the configuration will pass, and then the build will fail, and
we're going to look bad.
meson.build | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index bef96ac3..66a45919 100644
--- a/meson.build
+++ b/meson.build
@@ -45,6 +45,7 @@ pylint_flags = [
'-d', 'C0326',
]
+py = import('python').find_installation('python3', modules: ['gi'])
gen_locations_variant = find_program('build-aux/meson/gen_locations_variant.py')
subdir('data')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]