commit | ee6e9789420f9e81a34a3df7afcaf3bd7ac0c7d1 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed May 11 05:06:07 2022 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed May 11 05:06:07 2022 +0000 |
tree | 64f8c90740adbe25c30379d6567fd2acafcbd2dd | |
parent | cfef9f25f39bdaf362b7cbccc51720e3a0ed3d35 [diff] | |
parent | 046d35db06dec26c759b92b7d8de38a979d84c0b [diff] |
Snap for 8570526 from 046d35db06dec26c759b92b7d8de38a979d84c0b to mainline-media-swcodec-release Change-Id: I25ab4fac7810181b81cdda451d2aa7121266db70
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.