Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
09afd8d25d | ||
|
|
7ed60429b3 | ||
|
|
281eafada0 |
+3
-3
@@ -48,7 +48,7 @@ as an inspiration)
|
|||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Download OCRmyPDF here: https://github.com/fritz-hh/OCRmyPDF/releases
|
Download OCRmyPDF here: https://github.com/jbarlow83/OCRmyPDF/releases
|
||||||
|
|
||||||
You can install it to a Python virtual environment or system-wide.
|
You can install it to a Python virtual environment or system-wide.
|
||||||
|
|
||||||
@@ -184,7 +184,7 @@ Installing HEAD revision from sources
|
|||||||
|
|
||||||
To install the HEAD revision from sources in development mode::
|
To install the HEAD revision from sources in development mode::
|
||||||
|
|
||||||
git clone -b master https://github.com/fritz-hh/OCRmyPDF.git
|
git clone -b master https://github.com/jbarlow83/OCRmyPDF.git
|
||||||
cd OCRmyPDF
|
cd OCRmyPDF
|
||||||
pip3 install -e .
|
pip3 install -e .
|
||||||
|
|
||||||
@@ -196,7 +196,7 @@ run the install command as superuser::
|
|||||||
Note that this will alter your system's Python distribution. If you prefer
|
Note that this will alter your system's Python distribution. If you prefer
|
||||||
to not install as superuser, you can install the package in a Python virtual environment::
|
to not install as superuser, you can install the package in a Python virtual environment::
|
||||||
|
|
||||||
git clone -b master https://github.com/fritz-hh/OCRmyPDF.git
|
git clone -b master https://github.com/jbarlow83/OCRmyPDF.git
|
||||||
pyvenv venv
|
pyvenv venv
|
||||||
source venv/bin/activate
|
source venv/bin/activate
|
||||||
cd OCRmyPDF
|
cd OCRmyPDF
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ RELEASE NOTES
|
|||||||
|
|
||||||
Please always read this file before installing the package
|
Please always read this file before installing the package
|
||||||
|
|
||||||
Download software here: https://github.com/fritz-hh/OCRmyPDF/tags
|
Download software here: https://github.com/jbarlow83/OCRmyPDF/tags
|
||||||
|
|
||||||
v3.0:
|
v3.0:
|
||||||
=====
|
=====
|
||||||
|
|||||||
+1
-1
@@ -103,7 +103,7 @@ check_pil_encoder('zlib', 'PNG')
|
|||||||
parser = cmdline.get_argparse(
|
parser = cmdline.get_argparse(
|
||||||
prog="ocrmypdf",
|
prog="ocrmypdf",
|
||||||
description="Generate searchable PDF file from an image-only PDF file.",
|
description="Generate searchable PDF file from an image-only PDF file.",
|
||||||
version='3.0rc9',
|
version='3.0',
|
||||||
fromfile_prefix_chars='@',
|
fromfile_prefix_chars='@',
|
||||||
ignored_args=[
|
ignored_args=[
|
||||||
'touch_files_only', 'recreate_database', 'checksum_file_name',
|
'touch_files_only', 'recreate_database', 'checksum_file_name',
|
||||||
|
|||||||
@@ -179,17 +179,17 @@ tests_require = open('test_requirements.txt').read().splitlines()
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='ocrmypdf',
|
name='ocrmypdf',
|
||||||
version='3.0rc9', # also update: release notes, main.py
|
version='3.0', # also update: release notes, main.py
|
||||||
description='OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched',
|
description='OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched',
|
||||||
url='https://github.com/fritz-hh/OCRmyPDF',
|
url='https://github.com/jbarlow83/OCRmyPDF',
|
||||||
author='James. R. Barlow',
|
author='James R. Barlow',
|
||||||
author_email='jim@purplerock.ca',
|
author_email='jim@purplerock.ca',
|
||||||
license='Public Domain',
|
license='Public Domain',
|
||||||
packages=['ocrmypdf'],
|
packages=['ocrmypdf'],
|
||||||
keywords=['PDF', 'OCR', 'optical character recognition', 'PDF/A', 'scanning'],
|
keywords=['PDF', 'OCR', 'optical character recognition', 'PDF/A', 'scanning'],
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 5 - Production/Stable",
|
||||||
"Environment :: Console",
|
"Environment :: Console",
|
||||||
"Intended Audience :: End Users/Desktop",
|
"Intended Audience :: End Users/Desktop",
|
||||||
"Intended Audience :: Science/Research",
|
"Intended Audience :: Science/Research",
|
||||||
|
|||||||
+1
-3
@@ -154,9 +154,7 @@ def test_override_metadata():
|
|||||||
'--author', chinese,
|
'--author', chinese,
|
||||||
'--subject', high_unicode)
|
'--subject', high_unicode)
|
||||||
|
|
||||||
if p.returncode == ExitCode.invalid_output_pdfa:
|
assert p.returncode == ExitCode.ok
|
||||||
print("Got invalid PDF return code, as expected - JHOVE bug")
|
|
||||||
assert p.returncode in (ExitCode.ok, ExitCode.invalid_output_pdfa)
|
|
||||||
|
|
||||||
pdf = output_file
|
pdf = output_file
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user