| commit | 8bdda77cc87099a59708aa62f2d3325a15572434 | [log] [tgz] |
|---|---|---|
| author | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 03:24:29 2022 +0000 |
| committer | Android Build Coastguard Worker <[email protected]> | Thu Feb 17 03:24:29 2022 +0000 |
| tree | 64f8c90740adbe25c30379d6567fd2acafcbd2dd | |
| parent | fa41a67f85d072c598d2224942166f17cd62d36f [diff] | |
| parent | 046d35db06dec26c759b92b7d8de38a979d84c0b [diff] |
Snap for 8191477 from 046d35db06dec26c759b92b7d8de38a979d84c0b to tm-frc-networking-release Change-Id: I5dc5b46de7f3ac12139b2e8c47e37a1ad8297a59
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.