| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 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, |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 34 | description="OSM ro vim plugin for vmware", |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 35 | long_description=README, |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 36 | version_command=( |
| 37 | "git describe --match v* --tags --long --dirty", |
| 38 | "pep440-git-full", |
| 39 | ), |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 40 | # version=VERSION, |
| 41 | # python_requires='>3.5.0', |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 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", |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 48 | packages=[_name], |
| 49 | include_package_data=True, |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 50 | install_requires=[ |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 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", |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 59 | ], |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 60 | setup_requires=["setuptools-version-command"], |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 61 | entry_points={ |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 62 | "osm_rovim.plugins": [ |
| 63 | "rovim_vmware = osm_rovim_vmware.vimconn_vmware:vimconnector" |
| 64 | ], |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 65 | }, |
| 66 | ) |