Commit a81f5d3f authored by myhloli's avatar myhloli
Browse files

feat: update package data inclusion for mineru resources

parent d3b3ea0f
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment