| 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 | |
| 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' |
| 30 | _requirements = [ |
| 31 | # Libraries needed by the code defined by osm |
| 32 | "PyYAML", |
| 33 | "grpcio-tools", |
| 34 | "grpclib", |
| 35 | "protobuf", |
| 36 | |
| 37 | # Libraries defined by the vnf code, they should be in an external file |
| 38 | #"asyncssh", |
| 39 | ] |
| 40 | |
| 41 | setup( |
| 42 | name=_name, |
| 43 | #version_command=('0.1'), # TODO - replace for a git command |
| 44 | version='1.0', |
| 45 | description=_description, |
| 46 | long_description=open('README.rst').read(), |
| 47 | author=_author, |
| 48 | author_email=_author_email, |
| 49 | maintainer=_maintainer, |
| 50 | maintainer_email=_maintainer_email, |
| 51 | url=_url, |
| 52 | license=_license, |
| 53 | packages=[_name], |
| 54 | package_dir={_name: _name}, |
| 55 | |
| 56 | install_requires=_requirements, |
| 57 | include_package_data=True, |
| 58 | setup_requires=['setuptools-version-command'], |
| 59 | ) |