commit | 6ac53217bed15f5fe188d3d32fc9d0036954483e | [log] [tgz] |
---|---|---|
author | Bob Badour <bbadour@google.com> | Fri Feb 12 15:37:37 2021 -0800 |
committer | Bob Badour <bbadour@google.com> | Fri Feb 12 15:37:37 2021 -0800 |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | 6256f7d7dfc90b0a3057f6fd46d48e9548da35a3 [diff] |
[LSC] Add LOCAL_LICENSE_KINDS to external/python/cffi Added SPDX-license-identifier-MIT to: Android.bp c/Android.bp cffi/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Ifbd846214ba6276ebc55e6baa399657c2db1894a
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.