commit | 76adbf2a17602827fbe0925fb96e3a33e8cace80 | [log] [tgz] |
---|---|---|
author | android-build-team Robot <android-build-team-robot@google.com> | Sat Jun 19 12:02:35 2021 +0000 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Sat Jun 19 12:02:35 2021 +0000 |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | a0c2438c7a883c23642177532ad8228d7b666de4 [diff] | |
parent | 9f0bad686d0e7517a28c3992cd768f9111ff276f [diff] |
Snap for 7474514 from 9f0bad686d0e7517a28c3992cd768f9111ff276f to mainline-media-release Change-Id: Iefd32a765f51f242935c91deb2e5a69f9bba7122
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.