Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
75478eda
Commit
75478eda
authored
May 30, 2024
by
赵小蒙
Browse files
update setup
parent
3f3edc39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
setup.py
setup.py
+1
-3
No files found.
setup.py
View file @
75478eda
...
@@ -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
=
require
s
,
# 项目依赖的第三方库
install_requires
=
parse_
require
ments
(
'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
,
# 是否包含非代码文件,如数据文件、配置文件等
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment