blob: c0ee55c4f181211bbc0699ba5d5d84e5549e555f [file] [log] [blame]
tiernoc0e42e22018-05-11 11:36:10 +02001#!/usr/bin/env python3
tiernob3cda2e2018-10-30 17:26:59 +00002# -*- 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.
tiernoc0e42e22018-05-11 11:36:10 +020018
19import os
20from setuptools import setup
21
22_name = "osm_lcm"
23# version is at first line of osm_lcm/html_public/version
24here = os.path.abspath(os.path.dirname(__file__))
garciadeblas6b70e442018-05-25 15:50:58 +020025# VERSION = "4.0.1rc1"
tiernoc0e42e22018-05-11 11:36:10 +020026with open(os.path.join(here, 'README.rst')) as readme_file:
27 README = readme_file.read()
28
29setup(
30 name=_name,
tiernob3cda2e2018-10-30 17:26:59 +000031 description='OSM Life Cycle Management module',
tiernoc0e42e22018-05-11 11:36:10 +020032 long_description=README,
tierno27d003d2018-10-01 15:24:32 +020033 version_command=('git describe --match v* --tags --long --dirty', 'pep440-git-full'),
garciadeblas6b70e442018-05-25 15:50:58 +020034 # version=VERSION,
tiernoc0e42e22018-05-11 11:36:10 +020035 # python_requires='>3.5.0',
36 author='ETSI OSM',
37 author_email='alfonso.tiernosepulveda@telefonica.com',
38 maintainer='Alfonso Tierno',
39 maintainer_email='alfonso.tiernosepulveda@telefonica.com',
40 url='https://osm.etsi.org/gitweb/?p=osm/LCM.git;a=summary',
41 license='Apache 2.0',
42
43 packages=[_name],
44 include_package_data=True,
tiernob3cda2e2018-10-30 17:26:59 +000045 # data_files=[('/etc/osm/', ['osm_lcm/lcm.cfg']),
46 # ('/etc/systemd/system/', ['osm_lcm/osm-lcm.service']),
47 # ],
tiernoc0e42e22018-05-11 11:36:10 +020048 install_requires=[
tiernob3cda2e2018-10-30 17:26:59 +000049 # 'pymongo',
tierno5b50e382020-09-23 14:08:34 +000050 'PyYAML==5.*',
51 'aiohttp==3.*',
tierno072b1ce2020-07-16 14:34:43 +000052 'osm-common @ git+https://osm.etsi.org/gerrit/osm/common.git@v8.0#egg=osm-common',
53 'n2vc @ git+https://osm.etsi.org/gerrit/osm/N2VC.git@v8.0#egg=n2vc',
tierno5b50e382020-09-23 14:08:34 +000054 'jinja2==2.10',
tierno68666422020-09-22 09:27:12 +000055 'grpcio-tools==1.32.0',
56 'grpclib==0.4.1',
tiernoc0e42e22018-05-11 11:36:10 +020057 ],
garciadeblas6b70e442018-05-25 15:50:58 +020058 setup_requires=['setuptools-version-command'],
tiernoc0e42e22018-05-11 11:36:10 +020059)