Revert "Bug 2217 fixed: modified the cloud-init merge configs and defined the default...
[osm/RO.git] / RO-plugin / setup.py
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_ro_plugin"
22 _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"
30
31 _readme = """
32 ===========
33 osm-ro_plugin
34 ===========
35
36 osm-ro plugin is the base class for RO VIM and SDN plugins
37 """
38
39 setup(
40 name=_name,
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,
50 packages=[_name],
51 include_package_data=True,
52 install_requires=[
53 # "requests",
54 # "paramiko",
55 # "PyYAML",
56 ],
57 setup_requires=["setuptools-version-command"],
58 entry_points={
59 "osm_ro.plugins": [
60 "rovim_plugin = osm_ro_plugin.vimconn:VimConnector",
61 "rosdn_plugin = osm_ro_plugin.sdnconn:SdnConnectorBase",
62 ],
63 },
64 )