X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=NG-RO%2Fsetup.py;h=b60a3b8004216e5048162f6b79c20f4d44a42d3a;hb=42eb06f7a44e86a46c8310eccd81e1d628e649e4;hp=a00183613eb1e2e5f7a33d85ee23bfafae7e2f28;hpb=1d213f4c8825da8347ffb07b3eaa1315f0fab698;p=osm%2FRO.git diff --git a/NG-RO/setup.py b/NG-RO/setup.py index a0018361..b60a3b80 100644 --- a/NG-RO/setup.py +++ b/NG-RO/setup.py @@ -16,33 +16,32 @@ # See the License for the specific language governing permissions and # limitations under the License. -from setuptools import setup, find_packages +from setuptools import find_packages, setup _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', - 'osm-im @ git+https://osm.etsi.org/gerrit/osm/IM.git#egg=osm-im', - "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin", - ], - setup_requires=['setuptools-version-command'], + setup_requires=["setuptools-version-command"], )