aosp12/external/python/cffi
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
cffi init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
demo init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
doc init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
testing init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
AUTHORS init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
LICENSE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
MANIFEST.in init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
METADATA init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
MODULE_LICENSE_MIT init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.md init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
requirements.txt init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
setup.cfg init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
setup.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
setup_base.py init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

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.