setup.py 1 KB
Newer Older
Chen Yili's avatar
Chen Yili committed
1
import setuptools
GZhao's avatar
GZhao committed
2
3
4
5
6
7
8
9
10
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__("==")
    ]

Chen Yili's avatar
Chen Yili committed
11
12

setuptools.setup(
GZhao's avatar
GZhao committed
13
14
    name='csst_cpic_sim',
    version=csst_cpic_sim.__version__,
Chen Yili's avatar
Chen Yili committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
    author='CSST Team',
    author_email='gzhao@niaot.ac.cn',
    description='The CSST CPIC Simulation',  # short description
    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"
    ],
GZhao's avatar
GZhao committed
29
    package_dir={'csst_cpic_sim': 'csst_cpic_sim'},
Chen Yili's avatar
Chen Yili committed
30
31
    include_package_data=False,

GZhao's avatar
GZhao committed
32
    install_requires=requirements,
Chen Yili's avatar
Chen Yili committed
33
34
    python_requires='>=3.8',
)