forked from sonic-net/sonic-py-swsssdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (39 loc) · 1.11 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from setuptools import setup
dependencies = [
'redis==3.5.3',
'redis-dump-load',
]
high_performance_deps = [
'hiredis>=0.1.4'
]
setup(
name='swsssdk',
version='2.0.1',
package_dir={'swsssdk': 'src/swsssdk'},
packages=['swsssdk'],
package_data={'swsssdk': ['config/*.json']},
scripts=['src/swsssdk/scripts/sonic-db-cli'],
license='Apache 2.0',
author='SONiC Team',
author_email='linuxnetdev@microsoft.com',
maintainer="Thomas Booth",
maintainer_email='thomasbo@microsoft.com',
description='Switch State service Python utility library.',
install_requires=dependencies,
extras_require={
'high_perf': high_performance_deps
},
entry_points={
'console_scripts': [
'sonic-db-load = swsssdk:sonic_db_dump_load',
'sonic-db-dump = swsssdk:sonic_db_dump_load',
],
},
classifiers=[
'Intended Audience :: Developers',
'Operating System :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python',
]
)