commit | 6aa63b08263172a979012747497f4207cc341bb0 | [log] [tgz] |
---|---|---|
author | Lucia Li <luciali@google.com> | Mon Nov 08 21:45:14 2021 +0800 |
committer | Lucia Li <luciali@google.com> | Tue Nov 09 11:01:46 2021 +0800 |
tree | 64f8c90740adbe25c30379d6567fd2acafcbd2dd | |
parent | 3e013ad5e4325c9a301ddde47e997bfd797167cd [diff] |
Upgrade cffi from 1.12.2 to 1.15.0 Source is fetched from https://foss.heptapod.net/pypy/cffi/-/archive/branch/release-1.15/cffi-branch-release-1.15.zip Build cffi manually and update Android.bp Bug: 205265538 Test: None Change-Id: I91a5ed3b96029b3988602aba6a00c0e0748d0600
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.