Closed stweil closed 2 years ago
This is an extract from PR #295 and can be reused in PR #289.
We could use PYTHON_VERSION
also as a hack to disable submodules which require old Tensorflow versions for newer versions of Python which don't provide those versions. That's much faster than the (cleaner) solution to check whether the required Tensorflow versions are available (as I did it in #295).
It is used for special handling of several versions of Python, here to disable ocrd_kraken with Python 3.10.
Signed-off-by: Stefan Weil sw@weilnetz.de