| tierno | ed3e4d4 | 2019-10-21 15:31:27 +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_rosdn_onosof" |
| sousaedu | 96abfc2 | 2021-02-18 14:57:01 +0100 | [diff] [blame] | 22 | _version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") |
| 23 | _description = "OSM RO plugin for SDN with onos openflow rules" |
| 24 | _author = "OSM Support" |
| 25 | _author_email = "osmsupport@etsi.org" |
| 26 | _maintainer = "OSM Support" |
| 27 | _maintainer_email = "osmsupport@etsi.org" |
| 28 | _license = "Apache 2.0" |
| 29 | _url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary" |
| tierno | ed3e4d4 | 2019-10-21 15:31:27 +0000 | [diff] [blame] | 30 | |
| sousaedu | 96abfc2 | 2021-02-18 14:57:01 +0100 | [diff] [blame] | 31 | _readme = """ |
| tierno | ed3e4d4 | 2019-10-21 15:31:27 +0000 | [diff] [blame] | 32 | =========== |
| 33 | osm-rosdn_onosof |
| 34 | =========== |
| 35 | |
| tierno | 4126d05 | 2019-12-11 15:30:44 +0000 | [diff] [blame] | 36 | osm-ro plugin for onos SDN using pre-computed openflow rules |
| tierno | ed3e4d4 | 2019-10-21 15:31:27 +0000 | [diff] [blame] | 37 | """ |
| 38 | |
| 39 | setup( |
| 40 | name=_name, |
| sousaedu | 96abfc2 | 2021-02-18 14:57:01 +0100 | [diff] [blame] | 41 | description=_description, |
| 42 | long_description=_readme, |
| 43 | version_command=_version_command, |
| 44 | author=_author, |
| 45 | author_email=_author_email, |
| 46 | maintainer=_maintainer, |
| 47 | maintainer_email=_maintainer_email, |
| 48 | url=_url, |
| 49 | license=_license, |
| tierno | ed3e4d4 | 2019-10-21 15:31:27 +0000 | [diff] [blame] | 50 | packages=[_name], |
| 51 | include_package_data=True, |
| sousaedu | 80135b9 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 52 | setup_requires=["setuptools-version-command"], |
| tierno | ed3e4d4 | 2019-10-21 15:31:27 +0000 | [diff] [blame] | 53 | entry_points={ |
| sousaedu | 80135b9 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 54 | "osm_rosdn.plugins": [ |
| 55 | "rosdn_onosof = osm_rosdn_onosof.sdnconn_onosof:SdnConnectorOnosOf" |
| 56 | ], |
| tierno | ed3e4d4 | 2019-10-21 15:31:27 +0000 | [diff] [blame] | 57 | }, |
| 58 | ) |