From aab08bfcc7801261004dc3525db65b2d229c053f Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sun, 23 Aug 2015 12:30:40 -0700 Subject: [PATCH] Fix requirements.txt problem --- MANIFEST.in | 2 ++ RELEASE_NOTES.rst | 4 ++++ ocrmypdf/main.py | 2 +- setup.py | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/MANIFEST.in b/MANIFEST.in index 29afa3e5..49d6bbf1 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1 +1,3 @@ recursive-exclude tests/output * +include requirements.txt +include test_requirements.txt \ No newline at end of file diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 0bc2abe4..923e4b03 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -67,6 +67,10 @@ Changes Release candidates ------------------ +- rc7: + + - fix error when installing direct from pip, "no such file 'requirements.txt'" + - rc6: - dropped libxml2 (Python lxml) since Python 3's internal XML parser is sufficient diff --git a/ocrmypdf/main.py b/ocrmypdf/main.py index 84bc681b..5a52cec2 100755 --- a/ocrmypdf/main.py +++ b/ocrmypdf/main.py @@ -103,7 +103,7 @@ check_pil_encoder('zlib', 'PNG') parser = cmdline.get_argparse( prog="ocrmypdf", description="Generate searchable PDF file from an image-only PDF file.", - version='3.0rc6', + version='3.0rc7', fromfile_prefix_chars='@', ignored_args=[ 'touch_files_only', 'recreate_database', 'checksum_file_name', diff --git a/setup.py b/setup.py index e7e4f4f5..88de7445 100644 --- a/setup.py +++ b/setup.py @@ -179,7 +179,7 @@ tests_require = open('test_requirements.txt').read().splitlines() setup( name='ocrmypdf', - version='3.0rc6', # also update: release notes, main.py + version='3.0rc7', # also update: release notes, main.py description='OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched', url='https://github.com/fritz-hh/OCRmyPDF', author='James. R. Barlow',