create base package 'osm_ro_plugin' for plugin
[osm/RO.git] / RO-VIM-opennebula / setup.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 ##
5 # Copyright 2017 Telefonica Digital Spain S.L.U.
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 # implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 ##
19
20 from setuptools import setup
21
22 _name = "osm_rovim_opennebula"
23
24 README = """
25 ===========
26 osm-rovim_opennebula
27 ===========
28
29 osm-ro pluging for opennebula VIM
30 """
31
32 setup(
33 name=_name,
34 description='OSM ro vim plugin for opennebula',
35 long_description=README,
36 version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
37 # version=VERSION,
38 # python_requires='>3.5.0',
39 author='ETSI OSM',
40 author_email='OSM_TECH@LIST.ETSI.ORG',
41 maintainer='ETSI OSM',
42 maintainer_email='OSM_TECH@LIST.ETSI.ORG',
43 url='https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary',
44 license='Apache 2.0',
45
46 packages=[_name],
47 include_package_data=True,
48 install_requires=[
49 "requests",
50 "netaddr",
51 "PyYAML",
52 "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin"
53 ],
54 setup_requires=['setuptools-version-command'],
55 entry_points={
56 'osm_rovim.plugins': ['rovim_opennebula = osm_rovim_opennebula.vimconn_opennebula:vimconnector'],
57 },
58 )