X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=RO-SDN-onos_openflow%2Fsetup.py;h=ee57cf25c3db7ee584bd85e6e88a038feafe5a0c;hp=84d9cb7a0cbb98fa6f8c4ad1e1ec33356f2d9da9;hb=96abfc244d7937f7bb33aae8916033c0defd29d4;hpb=38d1217c445a5fd45aacae22541903439992e0ac diff --git a/RO-SDN-onos_openflow/setup.py b/RO-SDN-onos_openflow/setup.py index 84d9cb7a..ee57cf25 100644 --- a/RO-SDN-onos_openflow/setup.py +++ b/RO-SDN-onos_openflow/setup.py @@ -19,8 +19,16 @@ from setuptools import setup _name = "osm_rosdn_onosof" +_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") +_description = "OSM RO plugin for SDN with onos 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_onosof =========== @@ -30,26 +38,17 @@ osm-ro plugin for onos SDN using pre-computed openflow rules setup( name=_name, - description="OSM RO plugin for SDN with onos 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-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin", - ], setup_requires=["setuptools-version-command"], entry_points={ "osm_rosdn.plugins": [