blob: 095e0d07c38ccc2e4986d6f05807e56665d1e84c [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"
22
23README = """
24===========
25osm-ro_plugin
26===========
27
28osm-ro plugin is the base class for RO VIM and SDN plugins
29"""
30
31setup(
32 name=_name,
33 description='OSM ro base class for vim and SDN plugins',
34 long_description=README,
35 version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
36 # version=VERSION,
37 # python_requires='>3.5.0',
38 author='ETSI OSM',
39 author_email='alfonso.tiernosepulveda@telefonica.com',
40 maintainer='Alfonso Tierno',
41 maintainer_email='alfonso.tiernosepulveda@telefonica.com',
42 url='https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary',
43 license='Apache 2.0',
44
45 packages=[_name],
46 include_package_data=True,
47 install_requires=[
48 "requests", "paramiko", "PyYAML",
49 ],
50 setup_requires=['setuptools-version-command'],
51 entry_points={
52 'osm_ro.plugins': ['rovim_plugin = osm_ro_plugin.vimconn:VimConnector',
53 'rosdn_plugin = osm_ro_plugin.sdnconn:SdnConnectorBase'
54 ],
55 },
56)