| commit | 91434330a2c77e503ee3beb1bcdf1a0e792ee2ab | [log] [tgz] |
|---|---|---|
| author | Android Build Coastguard Worker <[email protected]> | Sat Nov 13 04:04:40 2021 +0000 |
| committer | Android Build Coastguard Worker <[email protected]> | Sat Nov 13 04:04:40 2021 +0000 |
| tree | 64f8c90740adbe25c30379d6567fd2acafcbd2dd | |
| parent | 046b49896334c2e5ef22c84f3e88b2959834c988 [diff] | |
| parent | 046d35db06dec26c759b92b7d8de38a979d84c0b [diff] |
Snap for 7912506 from 046d35db06dec26c759b92b7d8de38a979d84c0b to tm-release Change-Id: I15fbbac15a63ff61212825c6862f73fccd84cd0f
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.