commit | b6ff897d101e79fae4fb9b8b304cb274f88fa1bf | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Mar 14 07:03:10 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Mon Mar 14 07:03:10 2022 +0000 |
tree | 64f8c90740adbe25c30379d6567fd2acafcbd2dd | |
parent | 9db69fcbf5e711f3cfa83206ddbc34feccd7e1f2 [diff] | |
parent | 2eac055653de4ed6b019e0eb3d5ef997ded8663e [diff] |
Snap for 8294919 from 2eac055653de4ed6b019e0eb3d5ef997ded8663e to main-cg-testing-release Change-Id: I7bedf0990b6b50a7231b531901d2fb418642d22d
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.