X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fbindings%2Frmr-python%2Fsetup.py;h=8679211e29e41fbe0de95a31889b5db467f47447;hb=fa09c30e9450c45853311c6f07a621e1b9218ff0;hp=ca2d22ea54baf6614116799978af9a9b72038e58;hpb=0cb4b57403307f128b3597a52fa77cbc8524f078;p=ric-plt%2Flib%2Frmr.git diff --git a/src/bindings/rmr-python/setup.py b/src/bindings/rmr-python/setup.py index ca2d22e..8679211 100644 --- a/src/bindings/rmr-python/setup.py +++ b/src/bindings/rmr-python/setup.py @@ -22,14 +22,17 @@ SETUP_DIR = abspath(dirname(__file__)) def _long_descr(): """Yields the content of documentation files for the long description""" - doc_path = path_join(SETUP_DIR, "docs/source/index.rst") - 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.6", + version="0.13.0", packages=find_packages(), author="Tommy Carpenter, E. Scott Daniels", description="Python wrapper for RIC RMR",