blob: 7d1108766827431610107e853904f16fc00af9e3 [file] [log] [blame]
lloretgalleg1d2ff512020-08-01 06:05:58 +00001#!/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
19from setuptools import setup
20
21_name = "osm_ee"
22
garciadeblas56e0be72024-07-09 14:30:15 +020023_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"
lloretgalleg1d2ff512020-08-01 06:05:58 +000030_requirements = [
31 # Libraries needed by the code defined by osm
32 "PyYAML",
33 "grpcio-tools",
34 "grpclib",
35 "protobuf",
lloretgalleg1d2ff512020-08-01 06:05:58 +000036 # Libraries defined by the vnf code, they should be in an external file
garciadeblas56e0be72024-07-09 14:30:15 +020037 # "asyncssh",
lloretgalleg1d2ff512020-08-01 06:05:58 +000038]
39
40setup(
41 name=_name,
garciadeblas56e0be72024-07-09 14:30:15 +020042 # version_command=('0.1'), # TODO - replace for a git command
43 version="1.0",
lloretgalleg1d2ff512020-08-01 06:05:58 +000044 description=_description,
garciadeblas56e0be72024-07-09 14:30:15 +020045 long_description=open("README.rst").read(),
lloretgalleg1d2ff512020-08-01 06:05:58 +000046 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},
lloretgalleg1d2ff512020-08-01 06:05:58 +000054 install_requires=_requirements,
55 include_package_data=True,
garciadeblas56e0be72024-07-09 14:30:15 +020056 setup_requires=["setuptools-version-command"],
57)