Commit 05a44b76 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

setup

parent 4df23c34
[metadata]
name = csst_dfs_proto
author =CSST DFS Team.
author_email = weishoulin@astrolab.cn
description = CSST DFS Protocol Library.
long_description = file: README.md
long_description_content_type = text/markdown
keywords = astronomy, astrophysics, cosmology, space, CSST
url = https://github.com/astronomical-data-processing/csst-dfs-proto-py
project_urls =
Bug Tracker = https://github.com/astronomical-data-processing/csst-dfs-proto-py/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: MIT License
Operating System :: OS Independent
[options]
packages = find:
python_requires = >=3.7
zip_safe = False
setup_requires = setuptools_scm
install_requires =
grpcio==1.28.1
protobuf==3.9.0
\ No newline at end of file
# 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
import os
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',
version='0.0.1',
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"
]
)
setup(use_scm_version={'write_to': os.path.join('csst_dfs_proto', '_version.py')})
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