From b9d7687fa096cca819adcc1800cc652238857af2 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Tue, 28 Jul 2015 05:44:15 -0700 Subject: [PATCH] Fixes: clarify install instructions and reactivate external program checks --- README.rst | 8 +++++--- setup.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index 26f2f5a2..8089859a 100644 --- a/README.rst +++ b/README.rst @@ -49,11 +49,13 @@ Install Download OCRmyPDF here: https://github.com/fritz-hh/OCRmyPDF/releases -To install, extract the release files and run:: +To install, download the tarball and run: - pip install . + pip install ocrmypdf-3.0rc2.tar.gz -Run:: +You can install it within a virtual environment or system-wide. + +To run the program:: ocrmypdf --help diff --git a/setup.py b/setup.py index 22ef6870..a6e8eb73 100644 --- a/setup.py +++ b/setup.py @@ -129,7 +129,7 @@ def check_external_program( command = next((arg for arg in sys.argv[1:] if not arg.startswith('-')), '') if command.startswith('install') or \ - command in ['check', 'test', 'nosetests', 'easy_install']: + command in ['check', 'test', 'nosetests', 'easy_install', 'egg_info']: check_external_program( program='tesseract', minimum_version='3.02.02',