Commit 9dc5033c authored by 赵小蒙's avatar 赵小蒙

update requirements

parent 389826c5
...@@ -14,5 +14,4 @@ wordninja>=2.0.0 ...@@ -14,5 +14,4 @@ wordninja>=2.0.0
scikit-learn>=1.0.2 scikit-learn>=1.0.2
nltk==3.8.1 nltk==3.8.1
s3pathlib>=2.1.1 s3pathlib>=2.1.1
paddlepaddle
paddleocr @ https://github.com/magicpdf/PaddleOCR/releases/download/paddleocr-2.8.2-released/paddleocr-2.8.2-py3-none-any.whl paddleocr @ https://github.com/magicpdf/PaddleOCR/releases/download/paddleocr-2.8.2-released/paddleocr-2.8.2-py3-none-any.whl
\ No newline at end of file
...@@ -24,6 +24,10 @@ if __name__ == '__main__': ...@@ -24,6 +24,10 @@ if __name__ == '__main__':
version=__version__, # 自动从tag中获取版本号 version=__version__, # 自动从tag中获取版本号
packages=find_packages(), # 包含所有的包 packages=find_packages(), # 包含所有的包
install_requires=parse_requirements('requirements.txt'), # 项目依赖的第三方库 install_requires=parse_requirements('requirements.txt'), # 项目依赖的第三方库
extras_require={
"gpu": ["paddlepaddle-gpu"],
"cpu": ["paddlepaddle"],
},
python_requires=">=3.9", # 项目依赖的 Python 版本 python_requires=">=3.9", # 项目依赖的 Python 版本
# entry_points={"console_scripts": ["my_command=my_project.main:run"]}, # 项目提供的可执行命令 # entry_points={"console_scripts": ["my_command=my_project.main:run"]}, # 项目提供的可执行命令
include_package_data=True, # 是否包含非代码文件,如数据文件、配置文件等 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