X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=RO-SDN-dynpac%2Fsetup.py;h=79f73ad4410f4fa544673004502b69ce927719bc;hp=af69a0dc4be3ea19a77afbcc67e1256c10dfce5d;hb=refs%2Fchanges%2F55%2F10355%2F28;hpb=2346095e8f8d980c071592db4eac04fc3ff20699 diff --git a/RO-SDN-dynpac/setup.py b/RO-SDN-dynpac/setup.py index af69a0dc..79f73ad4 100644 --- a/RO-SDN-dynpac/setup.py +++ b/RO-SDN-dynpac/setup.py @@ -19,8 +19,16 @@ from setuptools import setup _name = "osm_rosdn_dynpac" +_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") +_description = "OSM ro sdn plugin for dynpac" +_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_dynpac =========== @@ -30,26 +38,21 @@ osm-ro pluging for dynpac SDN setup( name=_name, - description='OSM ro sdn plugin for dynpac', - 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, - 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_dynpac = osm_rosdn_dynpac.wimconn_dynpac:DynpacConnector'], + "osm_rosdn.plugins": [ + "rosdn_dynpac = osm_rosdn_dynpac.wimconn_dynpac:DynpacConnector" + ], }, )