forked from xraywu/mcp-pdf-extraction-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
26 lines (25 loc) · 711 Bytes
/
setup.py
File metadata and controls
26 lines (25 loc) · 711 Bytes
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
from setuptools import setup, find_packages
setup(
name="pdf-extraction",
version="0.1.0",
description="MCP server to extract contents from PDF files and images",
packages=find_packages(where="src"),
package_dir={"": "src"},
python_requires=">=3.11",
install_requires=[
"mcp>=1.2.0",
"pypdf2>=3.0.1",
"pytesseract>=0.3.10",
"Pillow>=10.0.0",
"pydantic>=2.10.1,<3.0.0",
"pymupdf>=1.24.0",
"uvicorn>=0.31.1",
"starlette>=0.27",
],
entry_points={
"console_scripts": [
"pdf-extraction=pdf_extraction:main",
"pdf-extraction-http=pdf_extraction.http_server:main",
],
},
)