X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=RO-VIM-opennebula%2Fsetup.py;h=8c574f0c2d1034a3ae1dc43c7891896358ed6796;hp=c27bca3ddfd143cea332be55aade9b0b7c430fd4;hb=1953edcfd434436999d99b5d6c805d7fcecc80f8;hpb=57dadcfd0fcf3c8e933602e2fb57f32658d9c845 diff --git a/RO-VIM-opennebula/setup.py b/RO-VIM-opennebula/setup.py index c27bca3d..8c574f0c 100644 --- a/RO-VIM-opennebula/setup.py +++ b/RO-VIM-opennebula/setup.py @@ -20,8 +20,16 @@ from setuptools import setup _name = "osm_rovim_opennebula" +_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") +_description = "OSM ro vim plugin for opennebula" +_author = "OSM Support" +_author_email = "osmsupport@etsi.org" +_maintainer = "OSM Support" +_maintainer_email = "osmsupport@etsi.org" +_license = "Apache 2.0" +_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary" -README = """ +_readme = """ =========== osm-rovim_opennebula =========== @@ -31,24 +39,21 @@ osm-ro pluging for opennebula VIM setup( name=_name, - description='OSM ro vim plugin for opennebula', - long_description=README, - version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'), - # version=VERSION, - # python_requires='>3.5.0', - author='ETSI OSM', - # TODO py3 author_email='', - maintainer='OSM_TECH@LIST.ETSI.ORG', # TODO py3 - # TODO py3 maintainer_email='', - url='https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary', - license='Apache 2.0', - + description=_description, + long_description=_readme, + version_command=_version_command, + author=_author, + author_email=_author_email, + maintainer=_maintainer, + maintainer_email=_maintainer_email, + url=_url, + license=_license, packages=[_name], include_package_data=True, - dependency_links=["git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro"], - install_requires=["requests", "netaddr", "PyYAML", "osm-ro",], - setup_requires=['setuptools-version-command'], + setup_requires=["setuptools-version-command"], entry_points={ - 'osm_rovim.plugins': ['rovim_opennebula = osm_rovim_opennebula.vimconn_opennebula'], + "osm_rovim.plugins": [ + "rovim_opennebula = osm_rovim_opennebula.vimconn_opennebula:vimconnector" + ], }, )