commit | 5be95af1f1cfe2420e3f58c134c005421058e787 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Mon Jun 21 15:05:08 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Mon Jun 21 15:05:08 2021 +0000 |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | a0c2438c7a883c23642177532ad8228d7b666de4 [diff] | |
parent | 9f0bad686d0e7517a28c3992cd768f9111ff276f [diff] |
Snap for 7478067 from 9f0bad686d0e7517a28c3992cd768f9111ff276f to mainline-ipsec-release Change-Id: Ibb4e46a2abc71ffde5d770ba348110d6511e27bc
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.