X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fbindings%2Frmr-python%2Fsetup.py;h=d8095b131017ba43ae119caa4ad36725e87e6142;hb=50b92c56c2bbe5c4405f0bdd2eefbd21d65a8416;hp=1df93110e90f0ccf824b388257a649f1aafd678b;hpb=f68c2ced7de2bdfc475a9282cde91a67d83325de;p=ric-plt%2Flib%2Frmr.git diff --git a/src/bindings/rmr-python/setup.py b/src/bindings/rmr-python/setup.py index 1df9311..d8095b1 100644 --- a/src/bindings/rmr-python/setup.py +++ b/src/bindings/rmr-python/setup.py @@ -22,20 +22,35 @@ SETUP_DIR = abspath(dirname(__file__)) def _long_descr(): """Yields the content of documentation files for the long description""" - doc_path = path_join(SETUP_DIR, "README.md") - with open(doc_path) as f: - return f.read() + 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.4", + version="0.13.4", packages=find_packages(), 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", )