summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-04-07 16:14:33 +0200
committerJan Tojnar <jtojnar@gmail.com>2021-04-07 16:14:33 +0200
commit9ee03ec23b0a924c44817998ef64a18246c3e5a9 (patch)
tree0471d75189f055309e7121ddf88114935adb5a64
parent00297c603474c28c757da82732e70e23dc6c0e2d (diff)
downloadyelp-tools-9ee03ec23b0a924c44817998ef64a18246c3e5a9.tar.gz
build: Use Meson's python module for finding lxmlwip/jtojnar/mesonpy
-rw-r--r--meson.build6
1 files changed, 2 insertions, 4 deletions
diff --git a/meson.build b/meson.build
index b155d31..db0a170 100644
--- a/meson.build
+++ b/meson.build
@@ -1,15 +1,13 @@
project('yelp-tools',
version: '40.0',
license: 'GPL-2.0-or-later',
- meson_version: '>= 0.50.0',
+ meson_version: '>= 0.51.0',
)
gnome = import('gnome')
python = import('python')
-pyinst = python.find_installation('python3', required: true)
-lxml = run_command('python3', '-c', 'import lxml')
-assert(lxml.returncode() == 0, 'Python module `lxml` required')
+pyinst = python.find_installation('python3', required: true, modules: ['lxml'])
package_name = meson.project_name()