Insist on Tesseract 3.04 wherever we check for it

This commit is contained in:
James R. Barlow
2017-05-11 23:51:28 -07:00
parent 8f91acf956
commit 83230097ae
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ warnings.simplefilter('ignore', pypdf.utils.PdfReadWarning)
# -------------
# External dependencies
MINIMUM_TESS_VERSION = '3.02.02'
MINIMUM_TESS_VERSION = '3.04'
def complain(message):
+1 -1
View File
@@ -155,7 +155,7 @@ if not forced and command.startswith('install') or \
command in ['check', 'test', 'nosetests', 'easy_install']:
check_external_program(
program='tesseract',
need_version='3.03', # limited by Travis CI / Ubuntu 14.04 backports
need_version='3.04', # using backport for Travis CI
package={'darwin': 'tesseract', 'linux': 'tesseract-ocr'}
)
check_external_program(