| commit | c917cb80a76edfa0a3f2ea4f7dd4c51b9c93db73 | [log] [tgz] |
|---|---|---|
| author | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 04:42:19 2023 +0000 |
| committer | Android Build Coastguard Worker <[email protected]> | Fri Jul 07 04:42:19 2023 +0000 |
| tree | 4873d3d96ff1bfde4d26c50243fdfbe599d82aa4 | |
| parent | 046d35db06dec26c759b92b7d8de38a979d84c0b [diff] | |
| parent | e4ad7f6c2e347100129583e177d33e02a31afb78 [diff] |
Snap for 10453563 from e4ad7f6c2e347100129583e177d33e02a31afb78 to mainline-adservices-release Change-Id: Id9e82c6e52d426e38a475a2b58f169dd4e06a298
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.