Tommy Carpenter | 46ae0f4 | 2019-05-20 15:12:30 +0000 | [diff] [blame] | 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 | # ================================================================================== |
Tommy Carpenter | ce90921 | 2019-07-31 12:44:00 -0400 | [diff] [blame^] | 17 | from os.path import dirname, abspath, join as path_join |
Tommy Carpenter | 46ae0f4 | 2019-05-20 15:12:30 +0000 | [diff] [blame] | 18 | from setuptools import setup, find_packages |
| 19 | |
Tommy Carpenter | ce90921 | 2019-07-31 12:44:00 -0400 | [diff] [blame^] | 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, "README.md") |
| 26 | with open(doc_path) as f: |
| 27 | return f.read() |
| 28 | |
| 29 | |
Tommy Carpenter | 46ae0f4 | 2019-05-20 15:12:30 +0000 | [diff] [blame] | 30 | setup( |
| 31 | name="rmr", |
Tommy Carpenter | ce90921 | 2019-07-31 12:44:00 -0400 | [diff] [blame^] | 32 | version="0.10.3", |
Tommy Carpenter | 46ae0f4 | 2019-05-20 15:12:30 +0000 | [diff] [blame] | 33 | packages=find_packages(), |
| 34 | author="Tommy Carpenter", |
| 35 | description="Python wrapper for RIC RMR", |
| 36 | url="https://gerrit.o-ran-sc.org/r/admin/repos/ric-plt/lib/rmr", |
Tommy Carpenter | ce90921 | 2019-07-31 12:44:00 -0400 | [diff] [blame^] | 37 | license="Apache 2.0", |
| 38 | data_files=[("", ["LICENSE.txt"])], |
Tommy Carpenter | 46ae0f4 | 2019-05-20 15:12:30 +0000 | [diff] [blame] | 39 | install_requires=[], |
Tommy Carpenter | ce90921 | 2019-07-31 12:44:00 -0400 | [diff] [blame^] | 40 | long_description=_long_descr(), |
Tommy Carpenter | 46ae0f4 | 2019-05-20 15:12:30 +0000 | [diff] [blame] | 41 | ) |