commit | 10137170086089bf8b07ff044c6c7b653fb9949f | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:57:13 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 07 04:57:13 2023 +0000 |
tree | 4873d3d96ff1bfde4d26c50243fdfbe599d82aa4 | |
parent | dcd1f963f15b4a51de47ba7499527f883920e336 [diff] | |
parent | e4ad7f6c2e347100129583e177d33e02a31afb78 [diff] |
Snap for 10453563 from e4ad7f6c2e347100129583e177d33e02a31afb78 to mainline-extservices-release Change-Id: I4ebe115efca521f9ad5ca90b42d45edb54eda7db
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.