commit | 3756c772c72298c21bd6d9059a5984aebb48921f | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Fri Jan 15 02:06:03 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Jan 15 02:06:03 2021 +0000 |
tree | 859f22c3b6d50e455290fc2cb73b51cf808c44e8 | |
parent | a88a85ad8929f80d29069023767345865e15ced6 [diff] | |
parent | 1158cea581a32d9389fd34e3e93444b45aee8ebf [diff] |
Snap for 7083477 from 1158cea581a32d9389fd34e3e93444b45aee8ebf to sc-release Change-Id: I5b2abfd2911f03f4d169fcf4eed1fba492c4de2b
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.