| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
| 2 | # -*- coding: utf-8 -*- |
| 3 | |
| 4 | ## |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
| 14 | # implied. |
| 15 | # See the License for the specific language governing permissions and |
| 16 | # limitations under the License. |
| 17 | ## |
| 18 | |
| 19 | from setuptools import setup |
| 20 | |
| 21 | _name = "osm_rovim_openstack" |
| 22 | |
| 23 | README = """ |
| 24 | =========== |
| 25 | osm-rovim_openstack |
| 26 | =========== |
| 27 | |
| 28 | osm-ro pluging for openstack VIM |
| 29 | """ |
| 30 | |
| 31 | setup( |
| 32 | name=_name, |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 33 | description="OSM ro vim plugin for openstack", |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 34 | long_description=README, |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 35 | version_command=( |
| 36 | "git describe --match v* --tags --long --dirty", |
| 37 | "pep440-git-full", |
| 38 | ), |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 39 | # version=VERSION, |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 40 | # python_requires=">3.5.0", |
| 41 | author="ETSI OSM", |
| 42 | author_email="alfonso.tiernosepulveda@telefonica.com", |
| 43 | maintainer="Alfonso Tierno", |
| 44 | maintainer_email="alfonso.tiernosepulveda@telefonica.com", |
| 45 | url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary", |
| 46 | license="Apache 2.0", |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 47 | packages=[_name], |
| 48 | include_package_data=True, |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 49 | install_requires=[ |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 50 | "python-openstackclient", |
| 51 | "python-neutronclient", |
| 52 | "requests", |
| 53 | "netaddr", |
| 54 | "PyYAML", |
| 55 | "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin", |
| tierno | 2346095 | 2020-01-28 16:31:10 +0000 | [diff] [blame] | 56 | # TODO py3 "networking-l2gw" |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 57 | # "python-novaclient", "python-keystoneclient", "python-glanceclient", "python-cinderclient", |
| 58 | ], |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 59 | setup_requires=["setuptools-version-command"], |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 60 | entry_points={ |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 61 | "osm_rovim.plugins": [ |
| 62 | "rovim_openstack = osm_rovim_openstack.vimconn_openstack:vimconnector" |
| 63 | ], |
| tierno | 7d782ef | 2019-10-04 12:56:31 +0000 | [diff] [blame] | 64 | }, |
| 65 | ) |