update requirements and setup

This commit is contained in:
赵小蒙
2024-06-25 19:05:42 +08:00
parent 50828db74f
commit 3aa8ccdceb
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -14,5 +14,4 @@ wordninja>=2.0.0
scikit-learn>=1.0.2
nltk==3.8.1
s3pathlib>=2.1.1
paddleocr @ https://github.com/magicpdf/PaddleOCR/releases/download/paddleocr-2.8.2-released/paddleocr-2.8.2-py3-none-any.whl
pdfminer.six>=20231228
+2 -2
View File
@@ -29,8 +29,8 @@ if __name__ == '__main__':
packages=find_packages(), # 包含所有的包
install_requires=parse_requirements('requirements.txt'), # 项目依赖的第三方库
extras_require={
"gpu": ["paddlepaddle-gpu"],
"cpu": ["paddlepaddle"],
"gpu": ["paddleocr", "paddlepaddle-gpu"],
"cpu": ["paddleocr", "paddlepaddle"],
},
description="A practical tool for converting PDF to Markdown", # 简短描述
long_description=long_description, # 详细描述