| lloretgalleg | 1d2ff51 | 2020-08-01 06:05:58 +0000 | [diff] [blame] | 1 | #!/usr/bin/env python3 |
| 2 | # -*- coding: utf-8 -*- |
| 3 | |
| 4 | # Copyright 2018 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 |
| 20 | |
| 21 | _name = "osm_ee" |
| 22 | |
| garciadeblas | 56e0be7 | 2024-07-09 14:30:15 +0200 | [diff] [blame] | 23 | _description = "OSM Resource Orchestrator" |
| 24 | _author = "ETSI OSM" |
| 25 | _author_email = "illoret@indra.es" |
| 26 | _maintainer = "alfonso.tiernosepulveda" |
| 27 | _maintainer_email = "alfonso.tiernosepulveda@telefonica.com" |
| 28 | _license = "Apache 2.0" |
| 29 | _url = "TOBEDEFINED" |
| lloretgalleg | 1d2ff51 | 2020-08-01 06:05:58 +0000 | [diff] [blame] | 30 | _requirements = [ |
| 31 | # Libraries needed by the code defined by osm |
| 32 | "PyYAML", |
| 33 | "grpcio-tools", |
| 34 | "grpclib", |
| 35 | "protobuf", |
| lloretgalleg | 1d2ff51 | 2020-08-01 06:05:58 +0000 | [diff] [blame] | 36 | # Libraries defined by the vnf code, they should be in an external file |
| garciadeblas | 56e0be7 | 2024-07-09 14:30:15 +0200 | [diff] [blame] | 37 | # "asyncssh", |
| lloretgalleg | 1d2ff51 | 2020-08-01 06:05:58 +0000 | [diff] [blame] | 38 | ] |
| 39 | |
| 40 | setup( |
| 41 | name=_name, |
| garciadeblas | 56e0be7 | 2024-07-09 14:30:15 +0200 | [diff] [blame] | 42 | # version_command=('0.1'), # TODO - replace for a git command |
| 43 | version="1.0", |
| lloretgalleg | 1d2ff51 | 2020-08-01 06:05:58 +0000 | [diff] [blame] | 44 | description=_description, |
| garciadeblas | 56e0be7 | 2024-07-09 14:30:15 +0200 | [diff] [blame] | 45 | long_description=open("README.rst").read(), |
| lloretgalleg | 1d2ff51 | 2020-08-01 06:05:58 +0000 | [diff] [blame] | 46 | author=_author, |
| 47 | author_email=_author_email, |
| 48 | maintainer=_maintainer, |
| 49 | maintainer_email=_maintainer_email, |
| 50 | url=_url, |
| 51 | license=_license, |
| 52 | packages=[_name], |
| 53 | package_dir={_name: _name}, |
| lloretgalleg | 1d2ff51 | 2020-08-01 06:05:58 +0000 | [diff] [blame] | 54 | install_requires=_requirements, |
| 55 | include_package_data=True, |
| garciadeblas | 56e0be7 | 2024-07-09 14:30:15 +0200 | [diff] [blame] | 56 | setup_requires=["setuptools-version-command"], |
| 57 | ) |