X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO-SDN-floodlight_openflow%2Fsetup.py;h=7956b4a6a4b1471518fb42c632ae61fd4ecd4a31;hb=839e5ca652d48ee67929d3022e4cddbf19e7ddde;hp=93a1988117ba6a2a853e682cff0c353519e36b1b;hpb=4126d05e24ada55226bb13a9d556655811cedadc;p=osm%2FRO.git diff --git a/RO-SDN-floodlight_openflow/setup.py b/RO-SDN-floodlight_openflow/setup.py index 93a19881..7956b4a6 100644 --- a/RO-SDN-floodlight_openflow/setup.py +++ b/RO-SDN-floodlight_openflow/setup.py @@ -19,8 +19,16 @@ from setuptools import setup _name = "osm_rosdn_floodlightof" +_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") +_description = "OSM RO plugin for SDN with floodlight openflow rules" +_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_floodlightof =========== @@ -30,25 +38,21 @@ osm-ro plugin for floodlight SDN using pre-computed openflow rules setup( name=_name, - description='OSM RO plugin for SDN with floodlight openflow rules', - 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='alfonso.tiernosepulveda@telefonica.com', - maintainer='Alfonso Tierno', - maintainer_email='alfonso.tiernosepulveda@telefonica.com', - 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", "osm-ro"], - setup_requires=['setuptools-version-command'], + setup_requires=["setuptools-version-command"], entry_points={ - 'osm_rosdn.plugins': ['rosdn_floodlightof = osm_rosdn_floodlightof.sdnconn_floodlightof:' - 'SdnConnectorFloodLightOf'], + "osm_rosdn.plugins": [ + "rosdn_floodlightof = osm_rosdn_floodlightof.sdnconn_floodlightof:SdnConnectorFloodLightOf" + ], }, )