1 # Copyright (c) 2019 AT&T Intellectual Property.
2 # Copyright (c) 2018-2019 Nokia.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
17 # This source code is part of the near-RT RIC (RAN Intelligent Controller)
18 # platform project (RICP).
21 """Setup script of Shared Data Layer (SDL) package."""
23 from os.path import dirname, abspath, join as path_join
24 from setuptools import setup, find_packages
25 from ricsdl import __version__
27 SETUP_DIR = abspath(dirname(__file__))
31 """Yields the content of documentation files for the long description"""
33 doc_path = path_join(SETUP_DIR, "README.md")
34 with open(doc_path) as file:
36 except FileNotFoundError: # this happens during unit testing, we don't need it
43 packages=find_packages(exclude=["tests.*", "tests"]),
44 author="Timo Tietavainen",
45 author_email='timo.tietavainen@nokia.com',
47 description="Shared Data Layer (SDL) provides a high-speed interface to access shared storage",
48 url="https://gerrit.o-ran-sc.org/r/admin/repos/ric-plt/sdlpy",
50 "Development Status :: 4 - Beta",
51 "Intended Audience :: Telecommunications Industry",
52 "Programming Language :: Python :: 3",
53 "Programming Language :: Python :: 3.7",
54 "License :: OSI Approved :: Apache Software License",
55 "Operating System :: POSIX :: Linux",
57 python_requires=">=3.7",
64 long_description=_long_descr(),
65 long_description_content_type="text/markdown",