[metadata] name = ocrmypdf description = OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched long_description = file: README.md long_description_content_type = text/markdown url = https://github.com/ocrmypdf/OCRmyPDF author = James R. Barlow author_email = james@purplerock.ca license = MPL-2.0 license_file = LICENSE license_files = LICENSE classifiers = Development Status :: 5 - Production/Stable Environment :: Console Intended Audience :: End Users/Desktop Intended Audience :: Science/Research Intended Audience :: System Administrators License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) Operating System :: MacOS :: MacOS X Operating System :: Microsoft :: Windows :: Windows 10 Operating System :: POSIX Operating System :: POSIX :: BSD Operating System :: POSIX :: Linux Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Topic :: Scientific/Engineering :: Image Recognition Topic :: Text Processing :: Indexing Topic :: Text Processing :: Linguistic keywords = PDF OCR optical character recognition PDF/A scanning project_urls = Documentation = https://ocrmypdf.readthedocs.io/ Source = https://github.com/ocrmypdf/OCRmyPDF Tracker = https://github.com/ocrmypdf/OCRmyPDF/issues [options] packages = find: install_requires = Pillow>=8.2.0 coloredlogs>=14.0 # strictly optional img2pdf>=0.3.0 # pure Python packaging>=20 pdfminer.six!=20200720,>=20191110 pikepdf!=5.0.0,>=4.0.0 pluggy>=0.13.0 reportlab>=3.5.66 tqdm>=4 importlib-metadata>=4;python_version<'3.8' # until Python 3.8 importlib-resources>=5;python_version<'3.9' # until Python 3.9 typing-extensions>=4;python_version<'3.10' python_requires = >=3.7 include_package_data = True package_dir = =src platforms = any setup_requires = setuptools-scm setuptools-scm-git-archive zip_safe = False [options.packages.find] where = src [options.entry_points] console_scripts = ocrmypdf = ocrmypdf.__main__:run [options.extras_require] docs = sphinx sphinx-issues sphinx-rtd-theme extended_test = PyMuPDF==1.19.1 test = coverage[toml]>=5 pytest>=6.0.0 pytest-cov>=2.11.1 pytest-xdist>=2.2.0 python-xmp-toolkit==2.0.1 # also requires apt-get install libexempi3 types-Pillow types-humanfriendly watcher = watchdog>=1.0.2 webservice = Flask>=1 [options.package_data] ocrmypdf = data/sRGB.icc py.typed [bdist_wheel] python-tag = py37 [aliases] test = pytest [check-manifest] ignore = .github [flake8] ignore = D203,F401,W503,E501,E203,F841 exclude = .git,__pycache__,docs/conf.py,build,dist,.venv,.venvpp,.eggs,tmp,src/ocrmypdf/lib/ max-complexity = 10 max-line-length = 100