diff --git a/setup.py b/setup.py index 35c9658..a12f257 100644 --- a/setup.py +++ b/setup.py @@ -127,7 +127,7 @@ def get_build_args(): _LOGGER.warn('pkg-config failed to find tesseract/lept libraries: {}'.format(e)) build_args = get_tesseract_version() - if build_args['cython_compile_time_env']['TESSERACT_VERSION'] >= 4.: + if build_args['cython_compile_time_env']['TESSERACT_VERSION'] >= 0x040000: _LOGGER.debug('tesseract >= 4.00 requires c++11 compiler support') build_args['extra_compile_args'] = ['-std=c++11'] diff --git a/tesserocr.pyx b/tesserocr.pyx index fac83d4..1172b7d 100644 --- a/tesserocr.pyx +++ b/tesserocr.pyx @@ -18,7 +18,7 @@ tesseract 3.04.00 ['eng', 'osd', 'equ']) """ -__version__ = '2.2.0' +__version__ = '2.2.1' import os from io import BytesIO