X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO-SDN-odl_openflow%2Fsetup.py;h=50a47c87996e7c4e6b4d378554093c87dc6a85f6;hb=6774898f3d83b6c348d6d93e1f5ed0ee7a7b88ef;hp=cdebc414095c29446c6cadad0ed3eddd1b1d0fef;hpb=ce1c9c84356a8aa6abad9513819a21f4c63ae4c0;p=osm%2FRO.git diff --git a/RO-SDN-odl_openflow/setup.py b/RO-SDN-odl_openflow/setup.py index cdebc414..50a47c87 100644 --- a/RO-SDN-odl_openflow/setup.py +++ b/RO-SDN-odl_openflow/setup.py @@ -19,8 +19,16 @@ from setuptools import setup _name = "osm_rosdn_odlof" +_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") +_description = "OSM RO plugin for SDN with odl 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_odlof =========== @@ -30,26 +38,21 @@ osm-ro plugin for OpenDayLight SDN using pre-computed openflow rules setup( name=_name, - description='OSM RO plugin for SDN with odl 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, - install_requires=[ - "requests", - "osm-ro @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro&subdirectory=RO" - ], - setup_requires=['setuptools-version-command'], + setup_requires=["setuptools-version-command"], entry_points={ - 'osm_rosdn.plugins': ['rosdn_odlof = osm_rosdn_odlof.sdnconn_odlof:SdnConnectorOdlOf'], + "osm_rosdn.plugins": [ + "rosdn_odlof = osm_rosdn_odlof.sdnconn_odlof:SdnConnectorOdlOf" + ], }, )