Commit 75478eda authored by 赵小蒙's avatar 赵小蒙

update setup

parent 3f3edc39
...@@ -29,14 +29,12 @@ def get_version(): ...@@ -29,14 +29,12 @@ def get_version():
return "0.0.0" return "0.0.0"
requires = parse_requirements('requirements.txt')
setup( setup(
name="magic_pdf", # 项目名 name="magic_pdf", # 项目名
# version="0.1.3", # 版本号 # version="0.1.3", # 版本号
version=get_version(), # 自动从tag中获取版本号 version=get_version(), # 自动从tag中获取版本号
packages=find_packages(), # 包含所有的包 packages=find_packages(), # 包含所有的包
install_requires=requires, # 项目依赖的第三方库 install_requires=parse_requirements('requirements.txt'), # 项目依赖的第三方库
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