forked from sonic-net/sonic-utilities
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
92 lines (90 loc) · 2.62 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import glob
from setuptools import setup
import unittest
def get_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('sonic-utilities-tests', pattern='*.py')
return test_suite
setup(
name='sonic-utilities',
version='1.2',
description='Command-line utilities for SONiC',
license='Apache 2.0',
author='SONiC Team',
author_email='[email protected]',
url='https://github.com/Azure/sonic-utilities',
maintainer='Joe LeVeque',
maintainer_email='[email protected]',
packages=[
'acl_loader',
'clear',
'config',
'debug',
'pfcwd',
'sfputil',
'psuutil',
'show',
'sonic_installer',
'sonic-utilities-tests',
'undebug',
],
package_data={
'show': ['aliases.ini']
},
scripts=[
'scripts/aclshow',
'scripts/boot_part',
'scripts/coredump-compress',
'scripts/decode-syseeprom',
'scripts/dropcheck',
'scripts/ecnconfig',
'scripts/fast-reboot',
'scripts/fast-reboot-dump.py',
'scripts/fdbshow',
'scripts/generate_dump',
'scripts/intfutil',
'scripts/lldpshow',
'scripts/port2alias',
'scripts/portconfig',
'scripts/portstat',
'scripts/reboot',
'scripts/teamshow'
],
data_files=[
('/etc/bash_completion.d', glob.glob('data/etc/bash_completion.d/*')),
],
entry_points={
'console_scripts': [
'acl-loader = acl_loader.main:cli',
'config = config.main:cli',
'debug = debug.main:cli',
'pfcwd = pfcwd.main:cli',
'sfputil = sfputil.main:cli',
'psuutil = psuutil.main:cli',
'show = show.main:cli',
'sonic-clear = clear.main:cli',
'sonic_installer = sonic_installer.main:cli',
'undebug = undebug.main:cli',
]
},
install_requires=[
'click-default-group',
'click',
'natsort',
'tabulate'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
],
keywords='sonic SONiC utilities command line cli CLI',
test_suite='setup.get_test_suite'
)