commit | fda99978adf227835b02d6cae0bdc375b17e9dc4 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Mon Feb 22 00:04:51 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Mon Feb 22 00:04:51 2021 +0000 |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | 294d822f487338830b012e2d107e34615f0883d5 [diff] | |
parent | 3e013ad5e4325c9a301ddde47e997bfd797167cd [diff] |
Snap for 7161250 from 3e013ad5e4325c9a301ddde47e997bfd797167cd to sc-v2-release Change-Id: I1350727a1a43cff1214b5910c3065ad6107c189b
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.