Bug: 128509540

Clone this repo:
  1. dae345f DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master by Xin Li · 4 months ago master android-r-preview-1
  2. 55f0ba8 Add in TEST_MAPPING for acloud unittests. am: c279f19ed3 am: eda8f0e877 am: a883d64d74 by Kevin Cheng · 7 months ago
  3. b7afdeb Add in TEST_MAPPING for acloud unittests. am: c279f19ed3 am: eda8f0e877 by Kevin Cheng · 7 months ago
  4. a883d64 Add in TEST_MAPPING for acloud unittests. am: c279f19ed3 am: eda8f0e877 by Kevin Cheng · 7 months ago
  5. eda8f0e Add in TEST_MAPPING for acloud unittests. am: c279f19ed3 by Kevin Cheng · 7 months ago ndk-sysroot-r21

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.