Instead of implementing, compiling and installing modules for C integration, we may use the python ctypes module to load the shared library (e.g. emulator) and access the methods (e.g. pinMode(), digitalRead() or digitalWrite()) directly from python scripts or test libraries.
This would ease the C-Python code integration, eliminating the nead for unnecessary coding for C-Python integration.