mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-03-27 11:08:32 +07:00
更新依赖包配置和打包配置
This commit is contained in:
@@ -6,14 +6,11 @@ Distance==0.1.3
|
||||
PyMuPDF==1.23.25
|
||||
loguru==0.7.2
|
||||
matplotlib==3.8.3
|
||||
mmeval==0.2.1
|
||||
numpy==1.26.4
|
||||
pandas==2.2.1
|
||||
pycld2==0.41
|
||||
pytest==8.0.2
|
||||
regex==2023.12.25
|
||||
spacy==3.7.4
|
||||
termcolor==2.4.0
|
||||
tqdm==4.66.2
|
||||
en_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-3.7.1/en_core_web_sm-3.7.1-py3-none-any.whl
|
||||
zh_core_web_sm @ https://github.com/explosion/spacy-models/releases/download/zh_core_web_sm-3.7.0/zh_core_web_sm-3.7.0-py3-none-any.whl
|
||||
23
setup.py
23
setup.py
@@ -5,9 +5,24 @@ setup(
|
||||
version="0.1.0", # 版本号
|
||||
packages=find_packages(), # 包含所有的包
|
||||
install_requires=['PyMuPDF>=1.23.25',
|
||||
], # 项目依赖的第三方库
|
||||
python_requires=">=3.9", # 项目依赖的 Python 版本
|
||||
'boto3>=1.34.52',
|
||||
'botocore>=1.34.52',
|
||||
'Brotli>=1.1.0',
|
||||
'click>=8.1.7',
|
||||
'Distance>=0.1.3',
|
||||
'loguru>=0.7.2',
|
||||
'matplotlib>=3.8.3',
|
||||
'numpy>=1.26.4',
|
||||
'pandas>=2.2.1',
|
||||
'pycld2>=0.41',
|
||||
'regex>=2023.12.25',
|
||||
'spacy>=3.7.4',
|
||||
'termcolor>=2.4.0',
|
||||
'en_core_web_sm>=3.7.1',
|
||||
'zh_core_web_sm>=3.7.0',
|
||||
], # 项目依赖的第三方库
|
||||
python_requires=">=3.9", # 项目依赖的 Python 版本
|
||||
# entry_points={"console_scripts": ["my_command=my_project.main:run"]}, # 项目提供的可执行命令
|
||||
include_package_data=True, # 是否包含非代码文件,如数据文件、配置文件等
|
||||
zip_safe=False, # 是否使用 zip 文件格式打包,一般设为 False
|
||||
include_package_data=True, # 是否包含非代码文件,如数据文件、配置文件等
|
||||
zip_safe=False, # 是否使用 zip 文件格式打包,一般设为 False
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user