setup.py 1.5 KB
Newer Older
BO ZHANG's avatar
BO ZHANG committed
1
2
3
4
5
6
7
import setuptools
import csst_proto

with open("README.md", "r") as fh:
    long_description = fh.read()

setuptools.setup(
BO ZHANG's avatar
BO ZHANG committed
8
    name='csst_proto',
BO ZHANG's avatar
BO ZHANG committed
9
10
11
    version=csst_proto.__version__,
    author='CSST Team',
    author_email='bozhang@nao.cas.cn',
BO ZHANG's avatar
BO ZHANG committed
12
    description='The CSST L1 pipeline prototype',  # short description
BO ZHANG's avatar
BO ZHANG committed
13
14
    long_description=long_description,
    long_description_content_type="text/markdown",
BO ZHANG's avatar
BO ZHANG committed
15
    url='https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto',
BO ZHANG's avatar
BO ZHANG committed
16
    project_urls={
BO ZHANG's avatar
BO ZHANG committed
17
        'Source': 'https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto',
BO ZHANG's avatar
BO ZHANG committed
18
19
20
21
22
23
24
    },
    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",
BO ZHANG's avatar
BO ZHANG committed
25
                 "Programming Language :: Python :: 3.8",
BO ZHANG's avatar
BO ZHANG committed
26
27
28
29
30
                 "Topic :: Scientific/Engineering :: Physics",
                 "Topic :: Scientific/Engineering :: Astronomy"],
    package_dir={'csst': 'csst'},
    # include_package_data=True,
    package_data={"": ["LICENSE", "README.md"],
BO ZHANG's avatar
BO ZHANG committed
31
32
                  "csst_proto": ["data/test_image.txt",
                                 "table_data.csv"
BO ZHANG's avatar
BO ZHANG committed
33
34
35
36
37
                                 ]},
    # install_requires=['sphinx',
    #                   'numpy',
    #                   'scipy', 'matplotlib',
    #                   'astropy', 'healpy', 'ccdproc', 'deepCR', 'photutils'],
BO ZHANG's avatar
BO ZHANG committed
38
    python_requires='>=3.8',
BO ZHANG's avatar
BO ZHANG committed
39
)