setup.py 1.09 KB
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# coding: utf-8
"""Setup config file to package the configuration database."""
from os import walk, listdir
from setuptools import find_packages
from os.path import join
from setuptools import setup


def package_files(directory):
    """Get list of data files to add to the package."""
    paths = []
    for (path, _, file_names) in walk(directory):
        for filename in file_names:
            paths.append(join('..', path, filename))
    return paths


with open('README.md', 'r') as file:
    LONG_DESCRIPTION = file.read()

setup(name='csst_dfs_proto',
Wei Shoulin's avatar
bug    
Wei Shoulin committed
22
      version='0.0.1',
Wei Shoulin's avatar
Wei Shoulin committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
      author='CSST DFS team.',
      description='CSST DFS Base Proto library.',
      long_description=LONG_DESCRIPTION,
      long_description_content_type='text/markdown',
      url='',
      packages=find_packages(exclude=('test', 'test.*', 'fabfile')),
      install_requires=[
          'grpcio==1.28.1'
      ],
      zip_safe=False,
      classifiers=[
          "Programming Language :: Python :: 3 :: Only",
          "Development Status :: 1 - Planning",
          "License :: OSI Approved :: BSD License"
      ]
)