Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

feat: update package data inclusion for mineru resources

myhlolia81f5d3f6954
diff --git a/pyproject.toml b/pyproject.toml
index dd65fcb8..33f61c11 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -101,12 +101,12 @@ mineru-models-download = "mineru.cli.models_download:download_models"
version = {attr = "mineru.version.__version__"}
[tool.setuptools.packages.find]
-include = ["mineru*"]
+include = ["mineru*", "mineru/resources", "mineru/model/ocr/paddleocr2pytorch/pytorchocr/utils/resources"]
namespaces = false
[tool.setuptools.package-data]
-"mineru.resources" = ["**"]
-"mineru.model.ocr.paddleocr2pytorch.pytorchocr.utils.resources" = ["**"]
+"mineru" = ["resources/**"]
+"mineru.model.ocr.paddleocr2pytorch.pytorchocr.utils" = ["resources/**"]
[tool.setuptools]
include-package-data = true