Snap for 7478028 from 9f0bad686d0e7517a28c3992cd768f9111ff276f to mainline-adbd-release Change-Id: I974bc847e6bd6b1095e87f9aaf50d94f1465e65b
Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.
To run tests under CPython, run::
pip install pytest # if you don't have py.test already pip install pycparser python setup.py build_ext -f -i py.test c/ testing/
If you run in another directory (either the tests or another program), you should use the environment variable PYTHONPATH=/path to point to the location that contains the _cffi_backend.so just compiled.