blob: 6a6ce3900061951d140c6bb138cfb3371c4c54be [file] [log] [blame]
tierno72774862020-05-04 11:44:15 +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_ro_plugin"
sousaedu96abfc22021-02-18 14:57:01 +010022_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
23_description = "OSM ro base class for vim and SDN plugins"
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"
tierno72774862020-05-04 11:44:15 +000030
sousaedu96abfc22021-02-18 14:57:01 +010031_readme = """
tierno72774862020-05-04 11:44:15 +000032===========
33osm-ro_plugin
34===========
35
36osm-ro plugin is the base class for RO VIM and SDN plugins
37"""
38
39setup(
40 name=_name,
sousaedu96abfc22021-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,
tierno72774862020-05-04 11:44:15 +000050 packages=[_name],
51 include_package_data=True,
52 install_requires=[
sousaedu96abfc22021-02-18 14:57:01 +010053 # "requests",
54 # "paramiko",
55 # "PyYAML",
tierno72774862020-05-04 11:44:15 +000056 ],
sousaedu80135b92021-02-17 15:05:18 +010057 setup_requires=["setuptools-version-command"],
tierno72774862020-05-04 11:44:15 +000058 entry_points={
sousaedu80135b92021-02-17 15:05:18 +010059 "osm_ro.plugins": [
60 "rovim_plugin = osm_ro_plugin.vimconn:VimConnector",
61 "rosdn_plugin = osm_ro_plugin.sdnconn:SdnConnectorBase",
62 ],
tierno72774862020-05-04 11:44:15 +000063 },
64)