X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=NG-RO%2Fsetup.py;h=466138605493c472f3b19b7a3b847582635094de;hp=31c3b358849ef43f59098cb566c6f93a8f8b94b0;hb=96abfc244d7937f7bb33aae8916033c0defd29d4;hpb=38d1217c445a5fd45aacae22541903439992e0ac diff --git a/NG-RO/setup.py b/NG-RO/setup.py index 31c3b358..46613860 100644 --- a/NG-RO/setup.py +++ b/NG-RO/setup.py @@ -19,31 +19,29 @@ from setuptools import setup, find_packages _name = "osm_ng_ro" +_version_command = ("git describe --match v* --tags --long --dirty", "pep440-git-full") +_description = "OSM Resource Orchestrator" +_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 = "osm-ng-ro is the New Generation Resource Orchestrator for OSM" + setup( name=_name, - description="OSM Resource Orchestrator", + description=_description, long_description=_readme, - version_command=( - "git describe --match v* --tags --long --dirty", - "pep440-git-full", - ), - 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", + version_command=_version_command, + author=_author, + author_email=_author_email, + maintainer=_maintainer, + maintainer_email=_maintainer_email, + url=_url, + license=_license, packages=find_packages(exclude=["temp", "local"]), include_package_data=True, - install_requires=[ - "CherryPy==18.1.2", - "osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common", - "jsonschema", - "PyYAML", - "requests", - "cryptography", # >=2.5 installed right version with the debian post-install script - "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin", - ], setup_requires=["setuptools-version-command"], )