commit | 046b49896334c2e5ef22c84f3e88b2959834c988 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 03 03:04:17 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jun 03 03:04:17 2021 +0000 |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | beba7fdf22cfece93fe9984c1cd2f9442317a596 [diff] | |
parent | 11106c32f6af49935387d83aed1b1d60a77f21b4 [diff] |
Snap for 7418644 from 11106c32f6af49935387d83aed1b1d60a77f21b4 to tm-release Change-Id: I827f154798518a4c6ad9a0e1e1fbaedee3ebf208
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.