diff options
-rw-r--r-- | meson.build | 6 |
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() |