[libgweather/clang-format: 4/5] build: Require pygobject




commit 86d24fff6cebfc34821a4c1cdd53f8a04b8d7dab
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]