From d71545e115f4aad125042639d8276f0e1a0fe113 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Mon, 9 Mar 2020 13:26:39 +0100 Subject: [PATCH] CMake: Add python version requirement note to pro2cmake Change-Id: Iccaf61e19fb7257ed21f656c287976d7d778ed1c Reviewed-by: Leander Beernaert Reviewed-by: Joerg Bornemann --- util/cmake/pro2cmake.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/cmake/pro2cmake.py b/util/cmake/pro2cmake.py index 7eeed440f6..56d7e8d48d 100755 --- a/util/cmake/pro2cmake.py +++ b/util/cmake/pro2cmake.py @@ -28,6 +28,9 @@ ############################################################################# +# Requires Python 3.7. The import statement needs to be the first line of code +# so it's not possible to conditionally check the version and raise an +# exception. from __future__ import annotations import copy