Reformatting RO
[osm/RO.git] / RO-VIM-vmware / setup.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 ##
5 # Copyright VMware Inc.
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 # implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 ##
19
20 from setuptools import setup
21
22 _name = "osm_rovim_vmware"
23
24 README = """
25 ===========
26 osm-rovim_vmware
27 ===========
28
29 osm-ro pluging for vmware VIM
30 """
31
32 setup(
33 name=_name,
34 description="OSM ro vim plugin for vmware",
35 long_description=README,
36 version_command=(
37 "git describe --match v* --tags --long --dirty",
38 "pep440-git-full",
39 ),
40 # version=VERSION,
41 # python_requires='>3.5.0',
42 author="ETSI OSM",
43 author_email="OSM_TECH@LIST.ETSI.ORG",
44 maintainer="ETSI OSM",
45 maintainer_email="OSM_TECH@LIST.ETSI.ORG",
46 url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
47 license="Apache 2.0",
48 packages=[_name],
49 include_package_data=True,
50 install_requires=[
51 "pyvcloud==19.1.1",
52 "progressbar",
53 "prettytable",
54 "pyvmomi",
55 "requests",
56 "netaddr",
57 "PyYAML",
58 "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
59 ],
60 setup_requires=["setuptools-version-command"],
61 entry_points={
62 "osm_rovim.plugins": [
63 "rovim_vmware = osm_rovim_vmware.vimconn_vmware:vimconnector"
64 ],
65 },
66 )