setup.py 990 Bytes
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

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
10
11

setuptools.setup(
GZhao's avatar
GZhao committed
12
    name='csst_cpic_sim',
GZhao's avatar
GZhao committed
13
    version='2.0.0',
Chen Yili's avatar
Chen Yili committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
    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
28
    package_dir={'csst_cpic_sim': 'csst_cpic_sim'},
Chen Yili's avatar
Chen Yili committed
29
30
    include_package_data=False,

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