commit | 9561d8f7d8d349ec4c324c94fb46b0c1568ed942 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Thu Jan 14 19:05:55 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jan 14 19:05:55 2021 +0000 |
tree | 859f22c3b6d50e455290fc2cb73b51cf808c44e8 | |
parent | 29078aa0d320adaef9beb3586122a68054b23510 [diff] | |
parent | 1158cea581a32d9389fd34e3e93444b45aee8ebf [diff] |
Snap for 7082597 from 1158cea581a32d9389fd34e3e93444b45aee8ebf to tm-release Change-Id: Ia6cd2978c3bc9ae45c72c85424276ac64d591b51
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.