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_ifs_sim
Commits
9ee13d75
Commit
9ee13d75
authored
Apr 10, 2024
by
Yan Zhaojun
Browse files
update setup.py
parent
703f7760
Pipeline
#3944
failed with stage
in 0 seconds
Changes
3
Pipelines
1
Expand all
Show whitespace changes
Inline
Side-by-side
=5.9
0 → 100644
View file @
9ee13d75
Requirement already satisfied: PyQt5 in /home/yan/anaconda3/lib/python3.8/site-packages (5.15.10)
Requirement already satisfied: PyQt5-sip<13,>=12.13 in /home/yan/anaconda3/lib/python3.8/site-packages (from PyQt5) (12.13.0)
Requirement already satisfied: PyQt5-Qt5>=5.15.2 in /home/yan/anaconda3/lib/python3.8/site-packages (from PyQt5) (5.15.2)
csst_ifs_sim/csst_ifs_sim.py
View file @
9ee13d75
This diff is collapsed.
Click to expand it.
setup.py
View file @
9ee13d75
import
setuptools
with
open
(
"README.md"
,
"r"
)
as
fh
:
long_description
=
fh
.
read
()
# 读取README.md作为长描述
with
open
(
"README.md"
,
"r"
)
as
f
:
long_description
=
f
.
read
()
# 读取依赖列表requirements.txt
# 忽略#开头或者版本号不明确指定的条目
with
open
(
"requirements.txt"
,
"r"
)
as
f
:
requirements
=
[
req
.
strip
()
for
req
in
f
.
readlines
()
if
not
req
.
startswith
(
"#"
)
and
req
.
__contains__
(
"~="
)
]
setuptools
.
setup
(
name
=
'csst_ifs_sim'
,
...
...
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