-
Notifications
You must be signed in to change notification settings - Fork 70
/
Copy pathsetup.py
43 lines (40 loc) · 1.58 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
# Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache License 2.0
import os
from setuptools import setup, find_packages
"""
This setup needs to be copied to the top level python directory and then
create the package.
"""
AVI_PIP_VERSION = ''
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='avisdk',
version=AVI_PIP_VERSION,
packages=find_packages(exclude=['*migrationtools*',
'*sdk.samples.autoscale*',
'*sdk.test*'
]),
description='Avi python API SDK for Avi Controller REST API with samples'
' and, utilities',
url='https://github.com/vmware/alb-sdk',
author='Avi Networks',
author_email='[email protected]',
scripts=['avi/sdk/samples/virtualservice_examples_api.py'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
keywords='AVI ADC Loadbalancer automation datacenter SDK',
license='Avi Networks',
include_package_data=True,
install_requires=['requests', 'beautifulsoup4'],
package_data={'avi': ['*.cfg', '*.conf', '*.crt', '*.crl', '*.json',
'*.key', '*.pem', '*.xml', '*.yaml', '*.rst']},
)