X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fbindings%2Frmr-python%2Fsetup.py;h=1d11d50a038e441e44db52c3fad47499b593ade8;hb=546975507dc60572ba545951084d4d50bf234987;hp=ac0c19db3c6a1930b34b6422bf5238fb79407e97;hpb=3ca996aaf32fe37d727b29d6fb88354365988561;p=ric-plt%2Flib%2Frmr.git diff --git a/src/bindings/rmr-python/setup.py b/src/bindings/rmr-python/setup.py index ac0c19d..1d11d50 100644 --- a/src/bindings/rmr-python/setup.py +++ b/src/bindings/rmr-python/setup.py @@ -14,14 +14,43 @@ # See the License for the specific language governing permissions and # limitations under the License. # ================================================================================== +from os.path import dirname, abspath, join as path_join from setuptools import setup, find_packages +SETUP_DIR = abspath(dirname(__file__)) + + +def _long_descr(): + """Yields the content of documentation files for the long description""" + try: + doc_path = path_join(SETUP_DIR, "docs/source/index.rst") + with open(doc_path) as f: + return f.read() + except FileNotFoundError: # this happens during unit testing, we don't need it + return "" + + setup( name="rmr", - version="0.10.2", + version="0.13.2", packages=find_packages(), - author="Tommy Carpenter", + author="Tommy Carpenter, E. Scott Daniels", description="Python wrapper for RIC RMR", url="https://gerrit.o-ran-sc.org/r/admin/repos/ric-plt/lib/rmr", + classifiers=[ + "Development Status :: 4 - Beta", + "Intended Audience :: Telecommunications Industry", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", + "License :: OSI Approved :: Apache Software License", + "Operating System :: POSIX :: Linux", + "Topic :: Communications", + ], + python_requires=">=3.7", + keywords="RIC rmr", + license="Apache 2.0", + data_files=[("", ["LICENSE.txt"])], install_requires=[], + long_description=_long_descr(), + long_description_content_type="text/x-rst", )