31c3b358849ef43f59098cb566c6f93a8f8b94b0
[osm/RO.git] / NG-RO / setup.py
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3
4 # Copyright 2020 Telefonica S.A.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 # http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 # implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18
19 from setuptools import setup, find_packages
20
21 _name = "osm_ng_ro"
22 _readme = "osm-ng-ro is the New Generation Resource Orchestrator for OSM"
23 setup(
24 name=_name,
25 description="OSM Resource Orchestrator",
26 long_description=_readme,
27 version_command=(
28 "git describe --match v* --tags --long --dirty",
29 "pep440-git-full",
30 ),
31 author="ETSI OSM",
32 author_email="alfonso.tiernosepulveda@telefonica.com",
33 maintainer="Alfonso Tierno",
34 maintainer_email="alfonso.tiernosepulveda@telefonica.com",
35 url="https://osm.etsi.org/gitweb/?p=osm/RO.git;a=summary",
36 license="Apache 2.0",
37 packages=find_packages(exclude=["temp", "local"]),
38 include_package_data=True,
39 install_requires=[
40 "CherryPy==18.1.2",
41 "osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git#egg=osm-common",
42 "jsonschema",
43 "PyYAML",
44 "requests",
45 "cryptography", # >=2.5 installed right version with the debian post-install script
46 "osm-ro-plugin @ git+https://osm.etsi.org/gerrit/osm/RO.git#egg=osm-ro-plugin&subdirectory=RO-plugin",
47 ],
48 setup_requires=["setuptools-version-command"],
49 )