diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-04-20 23:32:27 +0200 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2018-04-20 23:32:27 +0200 |
commit | dd677c022e34e0646ea20a414572f148e7d05b99 (patch) | |
tree | 4db6b91d40763dca79963210f7f4db9b9ebd27b0 /meson.build | |
parent | 2273b75b39c0d350e8a3a5af98f7a1c7b5d666d6 (diff) | |
download | pygobject-dd677c022e34e0646ea20a414572f148e7d05b99.tar.gz |
meson.build: require python installation
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 357cadbf..d7722ba6 100644 --- a/meson.build +++ b/meson.build @@ -13,7 +13,8 @@ pygobject_version_micro = version_arr[2].to_int() platform_version = '@0@.0'.format(pygobject_version_major) pymod = import('python') -python = pymod.find_installation(get_option('python')) +python = pymod.find_installation(get_option('python'), required: true) + python_dep = python.dependency(required : true) python_no_warn_flags = [] |