-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
79 lines (60 loc) · 2.28 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
# Copyright (c) 2019-2024 Riverbed Technology, Inc.
#
# This software is licensed under the terms and conditions of the MIT License
# accompanying the software ("License"). This software is distributed "AS IS"
# as set forth in the License.
from glob import glob
from setuptools import setup, find_packages
packagedata = True
test = ['vcrpy', 'mock', 'pytest']
setup_args = {
'name': 'steelscript.netprofiler',
'version': '24.10.1',
'author': 'Riverbed Technology',
'author_email': '[email protected]',
'url': 'https://github.com/riverbed/steelscript',
'license': 'MIT',
'description': 'Python module for interacting with Riverbed '
'NetProfiler with SteelScript',
'long_description': '''SteelScript for NetProfiler
===========================
SteelScript is a collection of libraries and scripts in Python and JavaScript
for interacting with Riverbed Technology devices.
More about SteelScript: https://github.com/riverbed/steelscript
''',
'platforms': 'Linux, Mac OS, Windows',
'classifiers': [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.12',
'Topic :: System :: Networking',
],
'packages': find_packages(exclude=('gitpy_versioning',)),
'data_files': (
('share/doc/steelscript/docs/netprofiler', glob('docs/*')),
('share/doc/steelscript/examples/netprofiler', glob('examples/*')),
('share/doc/steelscript/notebooks/netprofiler', glob('notebooks/*')),
),
'install_requires': (
'steelscript>=24.10.0',
),
'extras_require': {
'test': test
},
'tests_require': test,
'python_requires': '>3.5.0',
'entry_points': {
'steel.commands': [
'netprofiler = steelscript.netprofiler.commands'
],
'portal.plugins': [
'netprofiler = steelscript.netprofiler.appfwk.plugin:NetProfilerPlugin'
],
},
}
if packagedata:
setup_args['include_package_data'] = True
setup(**setup_args)