-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
48 lines (46 loc) · 1.56 KB
/
setup.py
File metadata and controls
48 lines (46 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
from setuptools import find_packages, setup
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="docprocessor",
version="1.1.0",
author="Knowledge Innovation Centre",
author_email="info@knowledgeinnovation.eu",
description="A Python library for document processing with OCR, chunking, and summarization",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/Knowledge-Innovation-Centre/doc-processor",
packages=find_packages(),
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
python_requires=">=3.9",
install_requires=[
"pdfminer.six>=20221105",
"pdf2image>=1.16.3",
"pytesseract>=0.3.10",
"scikit-image>=0.22.0",
"Pillow>=10.2.0",
"python-docx>=1.1.0",
"python-pptx>=0.6.21",
"langchain-text-splitters>=0.2.0",
"tiktoken>=0.7.0",
"numpy>=1.24.0",
],
extras_require={
"meilisearch": ["meilisearch>=0.31.0"],
"dev": [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"pytest-mock>=3.10.0",
],
},
)