Spaces:
Sleeping
Sleeping
Fixed the smoldocling package
Browse files- pyproject.toml +27 -0
- requirements.txt +7 -1
- smoldocling/pyproject.toml +7 -16
pyproject.toml
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[build-system]
|
| 2 |
+
requires = ["setuptools>=45", "wheel"]
|
| 3 |
+
build-backend = "setuptools.build_meta"
|
| 4 |
+
|
| 5 |
+
[project]
|
| 6 |
+
name = "smoldocling"
|
| 7 |
+
version = "0.1.0"
|
| 8 |
+
description = "CLI tool for processing document images using Smoldocling"
|
| 9 |
+
authors = [
|
| 10 |
+
{name = "Your Name", email = "[email protected]"},
|
| 11 |
+
]
|
| 12 |
+
dependencies = [
|
| 13 |
+
"docling-core",
|
| 14 |
+
"Pillow>=10.0.0",
|
| 15 |
+
"pdf2image>=1.16.3",
|
| 16 |
+
"mcp[cli]>=1.7.0",
|
| 17 |
+
"fastapi[standard]>=0.115.12",
|
| 18 |
+
"torch>=2.7.0",
|
| 19 |
+
"openai>=1.78.1",
|
| 20 |
+
]
|
| 21 |
+
requires-python = ">=3.10"
|
| 22 |
+
|
| 23 |
+
[project.scripts]
|
| 24 |
+
smoldocling = "smoldocling.cli:main"
|
| 25 |
+
|
| 26 |
+
[tool.setuptools]
|
| 27 |
+
packages = ["smoldocling"]
|
requirements.txt
CHANGED
|
@@ -1,4 +1,10 @@
|
|
| 1 |
fastapi
|
| 2 |
uvicorn[standard]
|
| 3 |
python-multipart
|
| 4 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
fastapi
|
| 2 |
uvicorn[standard]
|
| 3 |
python-multipart
|
| 4 |
+
docling-core
|
| 5 |
+
Pillow
|
| 6 |
+
pdf2image
|
| 7 |
+
mcp[cli]
|
| 8 |
+
fastapi
|
| 9 |
+
torch
|
| 10 |
+
openai
|
smoldocling/pyproject.toml
CHANGED
|
@@ -1,28 +1,19 @@
|
|
| 1 |
[build-system]
|
| 2 |
-
requires = ["setuptools
|
| 3 |
build-backend = "setuptools.build_meta"
|
| 4 |
|
| 5 |
[project]
|
| 6 |
name = "smoldocling"
|
| 7 |
version = "0.1.0"
|
| 8 |
-
description = "
|
| 9 |
-
authors = [
|
| 10 |
-
|
| 11 |
-
]
|
| 12 |
-
dependencies = [
|
| 13 |
-
"docling-core",
|
| 14 |
-
# "mlx-vlm",
|
| 15 |
-
"Pillow>=10.0.0",
|
| 16 |
-
"pdf2image>=1.16.3",
|
| 17 |
-
"mcp[cli]>=1.7.0",
|
| 18 |
-
"fastapi[standard]>=0.115.12",
|
| 19 |
-
"torch>=2.7.0",
|
| 20 |
-
"openai>=1.78.1",
|
| 21 |
-
]
|
| 22 |
-
requires-python = ">=3.10"
|
| 23 |
|
| 24 |
[project.scripts]
|
| 25 |
smoldocling = "smoldocling.cli:main"
|
| 26 |
|
| 27 |
[tool.setuptools]
|
| 28 |
packages = ["smoldocling"]
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[build-system]
|
| 2 |
+
requires = ["setuptools", "wheel"]
|
| 3 |
build-backend = "setuptools.build_meta"
|
| 4 |
|
| 5 |
[project]
|
| 6 |
name = "smoldocling"
|
| 7 |
version = "0.1.0"
|
| 8 |
+
description = "Local smoldocling module"
|
| 9 |
+
authors = [{ name = "Your Name", email = "[email protected]" }]
|
| 10 |
+
dependencies = []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
[project.scripts]
|
| 13 |
smoldocling = "smoldocling.cli:main"
|
| 14 |
|
| 15 |
[tool.setuptools]
|
| 16 |
packages = ["smoldocling"]
|
| 17 |
+
|
| 18 |
+
[tool.setuptools.package-dir]
|
| 19 |
+
smoldocling = "."
|