commit | 8944a9bc08a5d1f954a75acc4c01f73c1818c847 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Mon Jun 21 14:49:09 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Mon Jun 21 14:49:09 2021 +0000 |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | a0c2438c7a883c23642177532ad8228d7b666de4 [diff] | |
parent | 9f0bad686d0e7517a28c3992cd768f9111ff276f [diff] |
Snap for 7478067 from 9f0bad686d0e7517a28c3992cd768f9111ff276f to mainline-extservices-release Change-Id: Id64b4e331481057376f7c190d2c92a3ff8599f49
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.