Commit cdc37c29 authored by GZhao's avatar GZhao
Browse files

update setup

parent 95f81f91
Pipeline #4360 failed with stage
in 0 seconds
# 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.
/nfsdata/share/simulation-unittest/cpic_sim
...
\ No newline at end of file
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='CpicImgSim', name='csst_cpic_sim',
version=CpicImgSim.__version__, version=csst_cpic_sim.__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': 'CpicImgSim'}, package_dir={'csst_cpic_sim': 'csst_cpic_sim'},
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',
) )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment