From 83230097aebfc13ba856f72a5d55405b1679d6a1 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Thu, 11 May 2017 23:51:28 -0700 Subject: [PATCH] Insist on Tesseract 3.04 wherever we check for it --- ocrmypdf/__main__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ocrmypdf/__main__.py b/ocrmypdf/__main__.py index 7481a414..ccb1b421 100755 --- a/ocrmypdf/__main__.py +++ b/ocrmypdf/__main__.py @@ -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): diff --git a/setup.py b/setup.py index fa13d45b..8e2c1c43 100644 --- a/setup.py +++ b/setup.py @@ -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(