Bug: 128509540

Clone this repo:
  1. 1944553 Upgrade cffi from 1.12.2 to 1.15.0 am: 6aa63b0826 by Lucia Li · 3 months ago master
  2. 6aa63b0 Upgrade cffi from 1.12.2 to 1.15.0 by Lucia Li · 3 months ago
  3. 3e013ad [LSC] Add LOCAL_LICENSE_KINDS to external/python/cffi am: 6ac53217be am: 032617dcaf am: 50d0b8b5db by Bob Badour · 11 months ago android-s-v2-preview-1 android12--mainline-release android12-dev android12-qpr1-d-release android12-qpr1-d-s1-release android12-qpr1-d-s2-release android12-qpr1-d-s3-release android12-qpr1-release android-12.0.0_r16 android-12.0.0_r18 android-12.0.0_r19 android-12.0.0_r20 android-12.0.0_r21 android-12.0.0_r26 android-12.0.0_r27 android-mainline-12.0.0_r4 android-s-v2-beta-2 android-s-v2-preview-2
  4. 50d0b8b [LSC] Add LOCAL_LICENSE_KINDS to external/python/cffi am: 6ac53217be am: 032617dcaf by Bob Badour · 11 months ago
  5. 032617d [LSC] Add LOCAL_LICENSE_KINDS to external/python/cffi am: 6ac53217be by Bob Badour · 11 months ago android-s-beta-4 android-s-beta-5 android-s-beta-1 android-s-beta-2 android-s-beta-3

CFFI

Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.

Download

Download page

Contact

Mailing list

Testing/development tips

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.