diff --git a/.gitignore b/.gitignore index ea20b51..917531f 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,7 @@ models/* # Sphinx documentation docs/*/_build/ + +# environment +.venv +.env diff --git a/pyproject.toml b/pyproject.toml index e99d062..bf3a7a4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ authors = [ ] description = "A Comprehensive Toolkit for High-Quality PDF Content Extraction." readme = "README.md" -license = { file="LICENSE" } +license = { file="LICENSE.md" } requires-python = ">=3.10" dependencies = [ "PyPDF2", @@ -18,7 +18,7 @@ dependencies = [ "pyyaml", "frontend", "pymupdf", - opencv-python = "^4.6.0" + "opencv-python>=4.6.0" # Add other common dependencies ] @@ -32,3 +32,5 @@ formula_detection = [ # Add other dependencies for formula detection ] # Add additional dependencies for other models +[tool.setuptools.packages.find] +include = ["pdf_extract_kit"] diff --git a/requirements.txt b/requirements.txt index ba8ab9f..e1eff8b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ omegaconf matplotlib PyMuPDF ultralytics>=8.2.85 -doclayout-yolo==0.0.2 +doclayout-yolo==0.0.4 unimernet==0.2.1 paddlepaddle-gpu paddleocr==2.7.3