| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 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, |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 25 | description="OSM Resource Orchestrator", |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 26 | long_description=_readme, |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 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", |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 37 | packages=find_packages(exclude=["temp", "local"]), |
| 38 | include_package_data=True, |
| 39 | install_requires=[ |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 40 | "CherryPy==18.1.2", |
| garciadeblas | 4c6d586 | 2021-04-08 22:22:16 +0200 | [diff] [blame] | 41 | "osm-common", |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 42 | "jsonschema", |
| 43 | "PyYAML", |
| 44 | "requests", |
| 45 | "cryptography", # >=2.5 installed right version with the debian post-install script |
| garciadeblas | 4c6d586 | 2021-04-08 22:22:16 +0200 | [diff] [blame] | 46 | "osm-ro-plugin", |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 47 | ], |
| sousaedu | 2ad8517 | 2021-02-17 15:05:18 +0100 | [diff] [blame] | 48 | setup_requires=["setuptools-version-command"], |
| tierno | 1d213f4 | 2020-04-24 14:02:51 +0000 | [diff] [blame] | 49 | ) |