android13/external/python/cffi
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
c initial 2024-06-22 20:45:49 +08:00
cffi initial 2024-06-22 20:45:49 +08:00
demo initial 2024-06-22 20:45:49 +08:00
doc initial 2024-06-22 20:45:49 +08:00
testing initial 2024-06-22 20:45:49 +08:00
AUTHORS initial 2024-06-22 20:45:49 +08:00
Android.bp initial 2024-06-22 20:45:49 +08:00
LICENSE initial 2024-06-22 20:45:49 +08:00
MANIFEST.in initial 2024-06-22 20:45:49 +08:00
METADATA initial 2024-06-22 20:45:49 +08:00
MODULE_LICENSE_MIT initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
requirements.txt initial 2024-06-22 20:45:49 +08:00
setup.cfg initial 2024-06-22 20:45:49 +08:00
setup.py initial 2024-06-22 20:45:49 +08:00
setup_base.py initial 2024-06-22 20:45:49 +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.