Files
ocrmypdf/setup.cfg
T

114 lines
2.9 KiB
INI
Raw Normal View History

2021-06-09 00:47:39 -07:00
[metadata]
name = ocrmypdf
description = OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to be searched
long_description = file: README.md
2021-08-26 17:59:40 -07:00
long_description_content_type = text/markdown
2021-06-09 00:47:39 -07:00
url = https://github.com/jbarlow83/OCRmyPDF
author = James R. Barlow
author_email = james@purplerock.ca
2021-08-26 17:59:40 -07:00
license = MPL-2.0
license_file = LICENSE
license_files =
2021-06-09 00:47:39 -07:00
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
2021-08-26 17:59:40 -07:00
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
2021-10-31 01:31:57 -07:00
Programming Language :: Python :: 3.10
2021-06-09 00:47:39 -07:00
Topic :: Scientific/Engineering :: Image Recognition
Topic :: Text Processing :: Indexing
Topic :: Text Processing :: Linguistic
2021-08-26 17:59:40 -07:00
keywords =
PDF
OCR
optical character recognition
PDF/A
scanning
2021-06-09 00:47:39 -07:00
project_urls =
Documentation = https://ocrmypdf.readthedocs.io/
Source = https://github.com/jbarlow83/ocrmypdf
Tracker = https://github.com/jbarlow83/ocrmypdf/issues
[options]
packages = find:
2021-08-26 17:59:40 -07:00
install_requires =
Pillow>=8.2.0
coloredlogs>=14.0 # strictly optional
img2pdf>=0.3.0,<0.5 # pure Python
packaging>=20
2021-10-27 01:20:06 -07:00
pdfminer.six!=20200720,>=20191110,<=20211012
2021-11-13 00:24:01 -08:00
pikepdf>=4.0.0
pluggy>=0.13.0,<2
2021-08-26 17:59:40 -07:00
reportlab>=3.5.66
tqdm>=4
2021-10-31 01:31:57 -07:00
importlib-metadata>=4;python_version<'3.8' # until Python 3.8
importlib-resources>=5;python_version<'3.9' # until Python 3.9
2021-11-13 00:24:01 -08:00
python_requires = >=3.7
2021-08-26 17:59:40 -07:00
include_package_data = True
2021-06-09 00:47:39 -07:00
package_dir =
=src
platforms = any
2021-08-26 17:59:40 -07:00
setup_requires =
2021-10-31 01:31:57 -07:00
setuptools-scm
setuptools-scm-git-archive
2021-08-26 17:59:40 -07:00
zip_safe = False
2021-06-09 00:47:39 -07:00
[options.packages.find]
where = src
2021-08-26 17:59:40 -07:00
[options.entry_points]
console_scripts =
ocrmypdf = ocrmypdf.__main__:run
2021-06-09 00:47:39 -07:00
[options.extras_require]
docs =
sphinx
sphinx-issues
2021-08-26 17:59:40 -07:00
sphinx-rtd-theme
2021-06-09 00:47:39 -07:00
extended_test =
2021-11-13 00:53:41 -08:00
PyMuPDF==1.19.1
2021-08-26 17:59:40 -07:00
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
2021-06-09 00:47:39 -07:00
watcher =
2021-08-26 17:59:40 -07:00
watchdog>=1.0.2,<3
2021-06-09 00:47:39 -07:00
webservice =
2021-08-26 17:59:40 -07:00
Flask>=1,<3
2021-06-09 00:47:39 -07:00
2021-08-26 17:59:40 -07:00
[options.package_data]
ocrmypdf =
data/sRGB.icc
py.typed
2021-06-09 00:47:39 -07:00
2015-07-25 23:45:13 -07:00
[bdist_wheel]
2021-11-13 00:24:01 -08:00
python-tag = py37
2016-08-31 16:28:39 -07:00
[aliases]
2021-06-09 00:47:39 -07:00
test = pytest
2016-08-31 16:28:39 -07:00
[check-manifest]
ignore =
2021-08-26 17:59:40 -07:00
.github
2021-09-21 16:37:03 -07:00
[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