OCR-D / ocrd_all

Master repository which includes most other OCR-D repositories as submodules
MIT License
72 stars 17 forks source link

Add new macro PYTHON_VERSION #297

Closed stweil closed 2 years ago

stweil commented 2 years ago

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

stweil commented 2 years ago

This is an extract from PR #295 and can be reused in PR #289.

stweil commented 2 years ago

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).