blob: ee57cf25c3db7ee584bd85e6e88a038feafe5a0c [file] [log] [blame]
tiernoed3e4d42019-10-21 15:31:27 +00001#!/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
19from setuptools import setup
20
21_name = "osm_rosdn_onosof"
sousaedu4a142752021-02-18 14:57:01 +010022_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"
tiernoed3e4d42019-10-21 15:31:27 +000030
sousaedu4a142752021-02-18 14:57:01 +010031_readme = """
tiernoed3e4d42019-10-21 15:31:27 +000032===========
33osm-rosdn_onosof
34===========
35
tierno4126d052019-12-11 15:30:44 +000036osm-ro plugin for onos SDN using pre-computed openflow rules
tiernoed3e4d42019-10-21 15:31:27 +000037"""
38
39setup(
40 name=_name,
sousaedu4a142752021-02-18 14:57:01 +010041 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,
tiernoed3e4d42019-10-21 15:31:27 +000050 packages=[_name],
51 include_package_data=True,
sousaedu2ad85172021-02-17 15:05:18 +010052 setup_requires=["setuptools-version-command"],
tiernoed3e4d42019-10-21 15:31:27 +000053 entry_points={
sousaedu2ad85172021-02-17 15:05:18 +010054 "osm_rosdn.plugins": [
55 "rosdn_onosof = osm_rosdn_onosof.sdnconn_onosof:SdnConnectorOnosOf"
56 ],
tiernoed3e4d42019-10-21 15:31:27 +000057 },
58)