Foreign Function Interface for Python calling C code.
Please see the Documentation or uncompiled in the doc/
subdirectory.
Source code is publicly available on GitHub.
After git clone
or wget && tar
, we will get a directory called cffi
or cffi-x.x.x
. we call it repo-directory
. To run tests under CPython, run the following in the repo-directory
:
pip install pytest
pip install -e . # editable install of CFFI for local development
pytest src/c/ testing/