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
756792a3
Commit
756792a3
authored
Jun 20, 2024
by
赵小蒙
Browse files
update:
add entry points can exec in shell
parent
a99689d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
setup.py
setup.py
+5
-1
No files found.
setup.py
View file @
756792a3
...
@@ -29,7 +29,11 @@ if __name__ == '__main__':
...
@@ -29,7 +29,11 @@ if __name__ == '__main__':
"cpu"
:
[
"paddlepaddle"
],
"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"
:
[
"magic-pdf = magic_pdf.cli.magicpdf:cli"
],
},
# 项目提供的可执行命令
include_package_data
=
True
,
# 是否包含非代码文件,如数据文件、配置文件等
include_package_data
=
True
,
# 是否包含非代码文件,如数据文件、配置文件等
zip_safe
=
False
,
# 是否使用 zip 文件格式打包,一般设为 False
zip_safe
=
False
,
# 是否使用 zip 文件格式打包,一般设为 False
)
)
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