Android 12.0.0 release 26
[LSC] Add LOCAL_LICENSE_KINDS to external/python/cffi am: 6ac53217be am: 032617dcaf am: 50d0b8b5db

Original change: https://android-review.googlesource.com/c/platform/external/python/cffi/+/1588574

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia05b13eca60db733747a7a8203bb92c29b905c52
tree: ee2d0182d9611b11c7d1e2229bce499e812480f3
  1. c/
  2. cffi/
  3. demo/
  4. doc/
  5. testing/
  6. Android.bp
  7. AUTHORS
  8. LICENSE
  9. MANIFEST.in
  10. METADATA
  11. MODULE_LICENSE_MIT
  12. README.md
  13. requirements.txt
  14. setup.cfg
  15. setup.py
  16. setup_base.py
README.md

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.