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
9e7f7550
Commit
9e7f7550
authored
Feb 29, 2024
by
赵小蒙
Browse files
配置打包参数
parent
50a6eda8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
setup.py
setup.py
+13
-0
No files found.
setup.py
0 → 100644
View file @
9e7f7550
from
setuptools
import
setup
,
find_packages
setup
(
name
=
"Magic-PDF"
,
# 项目名
version
=
"0.1.0"
,
# 版本号
packages
=
find_packages
(),
# 包含所有的包
install_requires
=
[
'PyMuPDF>=1.23.25'
,
],
# 项目依赖的第三方库
python_requires
=
">=3.9"
,
# 项目依赖的 Python 版本
# entry_points={"console_scripts": ["my_command=my_project.main:run"]}, # 项目提供的可执行命令
include_package_data
=
True
,
# 是否包含非代码文件,如数据文件、配置文件等
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