Skip to content
GitLab
Explore
Projects
Groups
Snippets
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_ifs_sim
Commits
52084760
Commit
52084760
authored
11 months ago
by
Yan Zhaojun
Browse files
Options
Download
Email Patches
Plain Diff
debug
parent
d551563e
develop
master
No related merge requests found
Pipeline
#4200
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
setup.py
+32
-30
setup.py
with
32 additions
and
30 deletions
+32
-30
setup.py
+
32
-
30
View file @
52084760
...
...
@@ -10,39 +10,41 @@ with open("requirements.txt", "r") as f:
requirements
=
[
req
.
strip
()
for
req
in
f
.
readlines
()
if
not
req
.
startswith
(
"#"
)
and
req
.
__contains__
(
"
~
="
)
if
not
req
.
startswith
(
"#"
)
and
req
.
__contains__
(
"
=
="
)
]
setuptools
.
setup
(
name
=
'csst_ifs_sim'
,
# Internal_Version = '0.7.02',
version
=
'1.2.0'
,
author
=
'CSST Team'
,
author_email
=
'zhaojunyan@shao.ac.cn'
,
description
=
'The CSST - ifs - sim'
,
# short description
long_description
=
long_description
,
long_description_content_type
=
"text/markdown"
,
url
=
'https://csst-tb.bao.ac.cn/'
,
# project_urls={
# 'Source': 'https://csst-tb.bao.ac.cn/code/csst-l1/ifs/csst_ifs_sim',
# },
packages
=
setuptools
.
find_packages
(),
license
=
'MIT'
,
classifiers
=
[
"Development Status :: 5 - Production/Stable"
,
"Intended Audience :: Science/Research"
,
"License :: OSI Approved :: MIT License"
,
"Operating System :: OS Independent"
,
"Programming Language :: Python :: 3.8"
,
"Topic :: Scientific/Engineering :: Physics"
,
"Topic :: Scientific/Engineering :: Astronomy"
],
package_dir
=
{
'csst_ifs_sim'
:
'csst_ifs_sim'
},
# include_package_data=True,
name
=
'csst_ifs_sim'
,
# 包名
version
=
"1.2.0"
,
# 版本号
author
=
"Zhaojun Yan"
,
# 作者
author_email
=
"zhaojunyan@shao.ac.cn"
,
# 邮箱
description
=
"The CSST IFS simulation - prototype"
,
# 短描述
long_description
=
long_description
,
# 长描述
long_description_content_type
=
"text/markdown"
,
# 长描述类型
url
=
"https://csst-tb.bao.ac.cn/code/csst-sims/csst_mci_sim/"
,
# 主页
packages
=
setuptools
.
find_packages
(
where
=
"."
),
# 用setuptools工具自动发现带有__init__.py的包
license
=
"MIT"
,
# 证书类型
classifiers
=
[
# 程序分类, 参考 https://pypi.org/classifiers/
# How mature is this project?
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha"
,
"Intended Audience :: Science/Research"
,
"License :: OSI Approved :: MIT License"
,
"Operating System :: OS Independent"
,
"Programming Language :: Python :: 3"
,
"Topic :: Scientific/Engineering :: Physics"
,
"Topic :: Scientific/Engineering :: Astronomy"
,
],
include_package_data
=
True
,
# 设置包含随包数据
package_data
=
{
""
:
[
"LICENSE"
,
"README.md"
],
"csst_ifs_sim"
:
[
"ifs_so/*"
,
"ifs_data/*"
,
"CTI/*"
,
"support/*"
,
"ifs_data/refs/*"
,
"ifs_data/refs/orbit20160925/*"
]},
# install_requires=['sphinx',
# 'numpy',
# 'scipy', 'matplotlib',
# 'astropy', 'healpy', 'ccdproc', 'deepCR', 'photutils'],
python_requires
=
'>=3.8'
,
# 请注意检查,防止临时文件或其他不必要的文件被提交到仓库,否则会一同安装
python_requires
=
">=3.11"
,
# Python版本要求
install_requires
=
requirements
,
)
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets