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-sims
csst_mci_sim
Commits
2695b65b
Commit
2695b65b
authored
Apr 18, 2024
by
Yan Zhaojun
Browse files
debug
parent
4f506103
Pipeline
#4203
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
2695b65b
...
@@ -10,39 +10,38 @@ with open("requirements.txt", "r") as f:
...
@@ -10,39 +10,38 @@ with open("requirements.txt", "r") as f:
requirements
=
[
requirements
=
[
req
.
strip
()
req
.
strip
()
for
req
in
f
.
readlines
()
for
req
in
f
.
readlines
()
if
not
req
.
startswith
(
"#"
)
and
req
.
__contains__
(
"
~
="
)
if
not
req
.
startswith
(
"#"
)
and
req
.
__contains__
(
"
=
="
)
]
]
setuptools
.
setup
(
setuptools
.
setup
(
name
=
'csst_mci_sim'
,
# Internal_Version = '0.7.02',
name
=
'csst_mci_sim'
,
# 包名
version
=
'2.0.0'
,
version
=
"1.2.0"
,
# 版本号
author
=
'CSST Team'
,
author
=
"Zhaojun Yan"
,
# 作者
author_email
=
'zhaojunyan@shao.ac.cn'
,
author_email
=
"zhaojunyan@shao.ac.cn"
,
# 邮箱
description
=
'The CSST - mci - sim'
,
# short description
description
=
"The CSST MCI simulation - prototype"
,
# 短描述
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/'
,
url
=
"https://csst-tb.bao.ac.cn/code/csst-sims/csst_mci_sim/"
,
# 主页
# project_urls={
packages
=
setuptools
.
find_packages
(
where
=
"."
),
# 用setuptools工具自动发现带有__init__.py的包
# 'Source': 'https://csst-tb.bao.ac.cn/code/csst-l1/ifs/csst_ifs_sim',
license
=
"MIT"
,
# 证书类型
# },
classifiers
=
[
# 程序分类, 参考 https://pypi.org/classifiers/
packages
=
setuptools
.
find_packages
(),
# How mature is this project?
license
=
'MIT'
,
# 3 - Alpha
classifiers
=
[
"Development Status :: 5 - Production/Stable"
,
# 4 - Beta
"Intended Audience :: Science/Research"
,
# 5 - Production/Stable
"License :: OSI Approved :: MIT License"
,
"Development Status :: 3 - Alpha"
,
"Operating System :: OS Independent"
,
"Intended Audience :: Science/Research"
,
"Programming Language :: Python :: 3.8"
,
"License :: OSI Approved :: MIT License"
,
"Topic :: Scientific/Engineering :: Physics"
,
"Operating System :: OS Independent"
,
"Topic :: Scientific/Engineering :: Astronomy"
],
"Programming Language :: Python :: 3"
,
package_dir
=
{
'csst_mci_sim'
:
'csst_mci_sim'
},
"Topic :: Scientific/Engineering :: Physics"
,
"Topic :: Scientific/Engineering :: Astronomy"
,
],
include_package_data
=
True
,
include_package_data
=
True
,
package_data
=
{
""
:
[
"LICENSE"
,
"README.md"
],
package_data
=
{
""
:
[
"LICENSE"
,
"README.md"
],
"csst_mci_sim"
:
[
"mci_so/*"
,
"mci_data/*"
,
"CTI/*"
,
"support/*"
]},
"csst_mci_sim"
:
[
"mci_so/*"
,
"mci_data/*"
,
"CTI/*"
,
"support/*"
]},
# install_requires=['sphinx',
# 请注意检查,防止临时文件或其他不必要的文件被提交到仓库,否则会一同安装
# 'numpy',
python_requires
=
">=3.11"
,
# Python版本要求
# 'scipy', 'matplotlib',
# 'astropy', 'healpy', 'ccdproc', 'deepCR', 'photutils'],
python_requires
=
'>=3.11'
,
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