You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
918 B
Python

import os
5 years ago
import setuptools
this_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_dir, "README.md"), encoding="utf-8") as f:
long_description = f.read()
5 years ago
setuptools.setup(
name="table_ocr",
version="0.2.1",
author="Eric Ihli",
author_email="eihli@owoga.com",
description="Extract text from tables in images.",
5 years ago
long_description=long_description,
long_description_content_type="text/plain",
url="https://github.com/eihli/image-table-ocr",
5 years ago
packages=setuptools.find_packages(),
package_data={
"table_ocr": ["tessdata/table-ocr.traineddata", "tessdata/eng.traineddata"]
},
5 years ago
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=["pytesseract~=0.3", "opencv-python~=4.2",],
python_requires=">=3.6",
5 years ago
)