8c574f0c2d1034a3ae1dc43c7891896358ed6796
[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 _version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full")
24 _description = "OSM ro vim plugin for opennebula"
25 _author = "OSM Support"
26 _author_email = "osmsupport@etsi.org"
27 _maintainer = "OSM Support"
28 _maintainer_email = "osmsupport@etsi.org"
29 _license = "Apache 2.0"
30 _url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary"
31
32 _readme = """
33 ===========
34 osm-rovim_opennebula
35 ===========
36
37 osm-ro pluging for opennebula VIM
38 """
39
40 setup(
41 name=_name,
42 description=_description,
43 long_description=_readme,
44 version_command=_version_command,
45 author=_author,
46 author_email=_author_email,
47 maintainer=_maintainer,
48 maintainer_email=_maintainer_email,
49 url=_url,
50 license=_license,
51 packages=[_name],
52 include_package_data=True,
53 setup_requires=["setuptools-version-command"],
54 entry_points={
55 "osm_rovim.plugins": [
56 "rovim_opennebula = osm_rovim_opennebula.vimconn_opennebula:vimconnector"
57 ],
58 },
59 )