| commit | 295b2e225810a364ad01e7425a57f848d42873a3 | [log] [tgz] |
|---|---|---|
| author | Android Build Coastguard Worker <[email protected]> | Tue May 10 06:59:12 2022 +0000 |
| committer | Android Build Coastguard Worker <[email protected]> | Tue May 10 06:59:12 2022 +0000 |
| tree | 64f8c90740adbe25c30379d6567fd2acafcbd2dd | |
| parent | c1effddaf2cbd06a4caf265f0b72cb3a0ad3682b [diff] | |
| parent | 046d35db06dec26c759b92b7d8de38a979d84c0b [diff] |
Snap for 8564071 from 046d35db06dec26c759b92b7d8de38a979d84c0b to mainline-permission-release Change-Id: I6d778801330994f1e7a23fe41a41a14f109fd927
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.