Add sphinx documentation generation
[ric-plt/lib/rmr.git] / src / bindings / rmr-python / setup.py
1 # ==================================================================================
2 #       Copyright (c) 2019 Nokia
3 #       Copyright (c) 2018-2019 AT&T Intellectual Property.
4 #
5 #   Licensed under the Apache License, Version 2.0 (the "License");
6 #   you may not use this file except in compliance with the License.
7 #   You may obtain a copy of the License at
8 #
9 #          http://www.apache.org/licenses/LICENSE-2.0
10 #
11 #   Unless required by applicable law or agreed to in writing, software
12 #   distributed under the License is distributed on an "AS IS" BASIS,
13 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 #   See the License for the specific language governing permissions and
15 #   limitations under the License.
16 # ==================================================================================
17 from os.path import dirname, abspath, join as path_join
18 from setuptools import setup, find_packages
19
20 SETUP_DIR = abspath(dirname(__file__))
21
22
23 def _long_descr():
24     """Yields the content of documentation files for the long description"""
25     doc_path = path_join(SETUP_DIR, "docs/source/index.rst")
26     with open(doc_path) as f:
27         return f.read()
28
29
30 setup(
31     name="rmr",
32     version="0.10.6",
33     packages=find_packages(),
34     author="Tommy Carpenter, E. Scott Daniels",
35     description="Python wrapper for RIC RMR",
36     url="https://gerrit.o-ran-sc.org/r/admin/repos/ric-plt/lib/rmr",
37     classifiers=[
38         "Development Status :: 4 - Beta",
39         "Intended Audience :: Telecommunications Industry",
40         "Programming Language :: Python :: 3",
41         "Programming Language :: Python :: 3.7",
42         "License :: OSI Approved :: Apache Software License",
43         "Operating System :: POSIX :: Linux",
44         "Topic :: Communications",
45     ],
46     python_requires=">=3.7",
47     keywords="RIC rmr",
48     license="Apache 2.0",
49     data_files=[("", ["LICENSE.txt"])],
50     install_requires=[],
51     long_description=_long_descr(),
52 )