Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_proto
Commits
55e4b081
Commit
55e4b081
authored
Nov 01, 2023
by
BO ZHANG
🏀
Browse files
add package_data in setup.py
parent
d03c9b7d
Pipeline
#1463
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
55e4b081
...
@@ -23,7 +23,7 @@ setuptools.setup(
...
@@ -23,7 +23,7 @@ setuptools.setup(
long_description
=
long_description
,
# 长描述
long_description
=
long_description
,
# 长描述
long_description_content_type
=
"text/markdown"
,
# 长描述类型
long_description_content_type
=
"text/markdown"
,
# 长描述类型
url
=
"https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto"
,
# 主页
url
=
"https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto"
,
# 主页
packages
=
setuptools
.
find_packages
(),
# 用setuptools工具自动发现带有__init__.py的包
packages
=
setuptools
.
find_packages
(
where
=
"."
),
# 用setuptools工具自动发现带有__init__.py的包
license
=
"MIT"
,
# 证书类型
license
=
"MIT"
,
# 证书类型
classifiers
=
[
# 程序分类, 参考 https://pypi.org/classifiers/
classifiers
=
[
# 程序分类, 参考 https://pypi.org/classifiers/
# How mature is this project?
# How mature is this project?
...
@@ -34,11 +34,14 @@ setuptools.setup(
...
@@ -34,11 +34,14 @@ setuptools.setup(
"Intended Audience :: Science/Research"
,
"Intended Audience :: Science/Research"
,
"License :: OSI Approved :: MIT License"
,
"License :: OSI Approved :: MIT License"
,
"Operating System :: OS Independent"
,
"Operating System :: OS Independent"
,
"Programming Language :: Python :: 3
.11
"
,
"Programming Language :: Python :: 3"
,
"Topic :: Scientific/Engineering :: Physics"
,
"Topic :: Scientific/Engineering :: Physics"
,
"Topic :: Scientific/Engineering :: Astronomy"
,
"Topic :: Scientific/Engineering :: Astronomy"
,
],
],
include_package_data
=
True
,
# 包含所有随包数据
include_package_data
=
True
,
# 包含所有随包数据
package_data
=
{
"csst_proto"
:
[
"data/*"
],
},
# 请注意检查,防止临时文件或其他不必要的文件被提交到仓库,否则会一同安装
# 请注意检查,防止临时文件或其他不必要的文件被提交到仓库,否则会一同安装
python_requires
=
">=3.11"
,
# Python版本要求
python_requires
=
">=3.11"
,
# Python版本要求
install_requires
=
requirements
,
install_requires
=
requirements
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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