aedi: bump minimum python version to 3.8.0

This commit is contained in:
alexey.lysiuk 2021-07-22 09:50:00 +03:00
parent 8378b1adbd
commit 7f14738143

View file

@ -20,8 +20,10 @@
import sys
if sys.hexversion < 0x3070000:
print('Build module requires Python 3.7 or newer')
_min_version = (3, 8, 0, 'final', 0)
if sys.version_info < _min_version:
print(f'This module requires Python {_min_version[0]}.{_min_version[1]}.{_min_version[2]} or newer')
exit(1)
sys.dont_write_bytecode = True