X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO-SDN-dpb%2Fsetup.py;h=b722a1a9be3564d0758e2e5498d8c859bd4e765a;hb=65de52b8cac0463db2bc42c979372c87946a8a46;hp=a1b31d7a84146b7eb4a0c3c38bcab9952619f622;hpb=ace62b8833fa7f7a2c7d6b05510a1794f9385035;p=osm%2FRO.git diff --git a/RO-SDN-dpb/setup.py b/RO-SDN-dpb/setup.py index a1b31d7a..b722a1a9 100644 --- a/RO-SDN-dpb/setup.py +++ b/RO-SDN-dpb/setup.py @@ -19,8 +19,16 @@ from setuptools import setup _name = "osm_rosdn_dpb" +_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") +_description = "OSM ro sdn plugin for dpb" +_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-rosdn_dpb =========== @@ -30,27 +38,19 @@ osm-ro plugin for dpb SDN setup( name=_name, - description='OSM ro sdn plugin for dpb', - 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', - author_email='OSM_TECH@LIST.ETSI.ORG', - maintainer='ETSI OSM', - maintainer_email='OSM_TECH@LIST.ETSI.ORG', - 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, - install_requires=[ - "paramiko", - "requests", - "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin", - ], - setup_requires=['setuptools-version-command'], + setup_requires=["setuptools-version-command"], entry_points={ - 'osm_rosdn.plugins': ['rosdn_dpb = osm_rosdn_dpb.wimconn_dpb:DpbConnector'], + "osm_rosdn.plugins": ["rosdn_dpb = osm_rosdn_dpb.wimconn_dpb:DpbConnector"], }, )