Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-proto-py
Commits
05a44b76
Commit
05a44b76
authored
Aug 10, 2021
by
Wei Shoulin
Browse files
setup
parent
4df23c34
Changes
2
Show whitespace changes
Inline
Side-by-side
setup.cfg
0 → 100644
View file @
05a44b76
[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
setup.py
View file @
05a44b76
# 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'
)})
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment