Reformatting RO
[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=(
37 "git describe --match v* --tags --long --dirty",
38 "pep440-git-full",
39 ),
40 # version=VERSION,
41 # python_requires=">3.5.0",
42 author="ETSI OSM",
43 author_email="OSM_TECH@LIST.ETSI.ORG",
44 maintainer="ETSI OSM",
45 maintainer_email="OSM_TECH@LIST.ETSI.ORG",
46 url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
47 license="Apache 2.0",
48 packages=[_name],
49 include_package_data=True,
50 install_requires=[
51 "requests",
52 "netaddr",
53 "PyYAML",
54 "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
55 ],
56 setup_requires=["setuptools-version-command"],
57 entry_points={
58 "osm_rovim.plugins": [
59 "rovim_opennebula = osm_rovim_opennebula.vimconn_opennebula:vimconnector"
60 ],
61 },
62 )