mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-05-05 07:48:01 +02:00
proto: require Python 3.9
ei-scanner relies on some 3.9 features and since that has been out for almost 3 years now, let's make it a requirement. Fixes #39
This commit is contained in:
parent
76652350cc
commit
e03c047b5d
1 changed files with 4 additions and 1 deletions
|
|
@ -14,4 +14,7 @@ endif
|
|||
|
||||
pymod = import('python')
|
||||
required_python_modules = ['attr', 'jinja2']
|
||||
pymod.find_installation('python3', modules: required_python_modules)
|
||||
python = pymod.find_installation('python3', modules: required_python_modules)
|
||||
if python.language_version().version_compare('<3.9')
|
||||
error('Python 3.9 or later required')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue