Move wrapped C library to subpackage 38/3238/8
authorLott, Christopher (cl778h) <cl778h@att.com>
Thu, 9 Apr 2020 22:25:19 +0000 (18:25 -0400)
committerLott, Christopher (cl778h) <cl778h@att.com>
Fri, 10 Apr 2020 18:52:58 +0000 (14:52 -0400)
commit97b18417ef503828d0636756c9f1cc330578869c
tree4f1ff0cd852d758f34a5b678732ab0436f0a4da0
parent4b9552c36d910264474a25cd7c1520a2a816f4d4
Move wrapped C library to subpackage

Create new subpackage rmr/rmrclib with the C library loaded via ctypes.
Add method to get constants from RMR library that recognizes mocks.
Split test files into test_rmr and test_rmrclib.
Extend sphinx configuration to mock the rmrclib subpackage.
This change allows generation of API documentation by Sphinx
when the .so file is not available and the import would fail,
for example at ReadTheDocs.

Signed-off-by: Lott, Christopher (cl778h) <cl778h@att.com>
Change-Id: Idb9bb1d7a534c4142ea0353b5a48d3132e55f6e6
docs/conf.py [changed mode: 0644->0755]
docs/rmr_api.rst
ricxappframe/rmr/rmr.py
ricxappframe/rmr/rmrclib/__init__.py [new file with mode: 0644]
ricxappframe/rmr/rmrclib/rmrclib.py [new file with mode: 0644]
tests/test_rmr.py
tests/test_rmrclib.py [new file with mode: 0644]