Correct summary bug in python wrapper
[ric-plt/lib/rmr.git] / src / bindings / rmr-python / setup.py
index 2ea41f6..3f81a7d 100644 (file)
@@ -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, "README.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.5",
+    version="0.13.3",
     packages=find_packages(),
     author="Tommy Carpenter, E. Scott Daniels",
     description="Python wrapper for RIC RMR",