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_cpic_sim
Commits
cdc37c29
Commit
cdc37c29
authored
May 08, 2024
by
GZhao
Browse files
update setup
parent
95f81f91
Pipeline
#4360
failed with stage
in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitignore copy
deleted
100644 → 0
View file @
95f81f91
# Build and Release Folders
bin-debug/
bin-release/
[Oo]bj/
[Bb]in/
build/
dist/
starmodel/
cpism_refdata/
*.egg-info
# Other files and folders
.settings/
_*/
~*
.VSCodeCounter
.vscode
*.log
output/
*.log.*
/*.fits
testrun/
example/example_output/
docs/notebooks/image_files/_*
# unitest output
tests/.coverage
tests/htmlcov/
# Executables
*.swf
*.air
*.ipa
*.apk
# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`
# should NOT be excluded as they contain compiler settings and other important
# information for Eclipse / Flash Builder.
data/refdata_path.yaml
0 → 100644
View file @
cdc37c29
/nfsdata/share/simulation-unittest/cpic_sim
...
\ No newline at end of file
setup.py
View file @
cdc37c29
import
setuptools
import
setuptools
import
CpicImgSim
import
csst_cpic_sim
with
open
(
"requirements.txt"
,
"r"
)
as
f
:
requirements
=
[
req
.
strip
()
for
req
in
f
.
readlines
()
if
not
req
.
startswith
(
"#"
)
and
req
.
__contains__
(
"=="
)
]
setuptools
.
setup
(
setuptools
.
setup
(
name
=
'
CpicImgS
im'
,
name
=
'
csst_cpic_s
im'
,
version
=
CpicImgS
im
.
__version__
,
version
=
csst_cpic_s
im
.
__version__
,
author
=
'CSST Team'
,
author
=
'CSST Team'
,
author_email
=
'gzhao@niaot.ac.cn'
,
author_email
=
'gzhao@niaot.ac.cn'
,
description
=
'The CSST CPIC Simulation'
,
# short description
description
=
'The CSST CPIC Simulation'
,
# short description
...
@@ -18,9 +26,9 @@ setuptools.setup(
...
@@ -18,9 +26,9 @@ setuptools.setup(
"Topic :: Scientific/Engineering :: Physics"
,
"Topic :: Scientific/Engineering :: Physics"
,
"Topic :: Scientific/Engineering :: Astronomy"
"Topic :: Scientific/Engineering :: Astronomy"
],
],
package_dir
=
{
'
CpicImgSim'
:
'CpicImgS
im'
},
package_dir
=
{
'
csst_cpic_sim'
:
'csst_cpic_s
im'
},
include_package_data
=
False
,
include_package_data
=
False
,
install_requires
=
[
'numpy'
,
'scipy'
,
'astropy'
,
'pysynphot'
,
'hcipy'
]
,
install_requires
=
requirements
,
python_requires
=
'>=3.8'
,
python_requires
=
'>=3.8'
,
)
)
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