Commit ca83edcd authored by Merlijn Wajer's avatar Merlijn Wajer
Browse files

setup.py: add pdf-to-hocr and optional pdf option

parent 453bf8f1
...@@ -23,7 +23,7 @@ setup(name='archive-hocr-tools', ...@@ -23,7 +23,7 @@ setup(name='archive-hocr-tools',
'bin/hocr-lookup-create', 'bin/hocr-lookup-reconstruct', 'bin/hocr-lookup-create', 'bin/hocr-lookup-reconstruct',
'bin/hocr-text-paragraphs', 'bin/hocr-extract-page', 'bin/hocr-text-paragraphs', 'bin/hocr-extract-page',
'bin/abbyy-to-hocr', 'bin/hocr-split-pages', 'bin/abbyy-to-hocr', 'bin/hocr-split-pages',
'bin/hocr-to-epub'], 'bin/hocr-to-epub', 'bin/pdf-to-hocr'],
classifiers=[ classifiers=[
'Development Status :: 3 - Alpha', 'Development Status :: 3 - Alpha',
'Intended Audience :: Developers', 'Intended Audience :: Developers',
...@@ -35,5 +35,6 @@ setup(name='archive-hocr-tools', ...@@ -35,5 +35,6 @@ setup(name='archive-hocr-tools',
install_requires=['lxml'], install_requires=['lxml'],
extras_require={ extras_require={
'epub': ['ebooklib==0.17.1', 'internetarchive-deriver-module==1.0.1', 'iso639==0.1.4'], 'epub': ['ebooklib==0.17.1', 'internetarchive-deriver-module==1.0.1', 'iso639==0.1.4'],
'pdf': ['PyMuPDF==1.19.2', 'numpy==1.21.3'],
}, },
package_data={'hocr': ['data/*']}) package_data={'hocr': ['data/*']})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment