tree: 26c7f7b74c752db99d9b0ac1f94fc592aca1e53a [path history] [tgz]
  1. AUTHORS
  2. LICENSE
  3. MANIFEST.in
  4. METADATA
  5. MODULE_LICENSE_MIT
  6. README.md
  7. c/
  8. cffi/
  9. demo/
  10. doc/
  11. requirements.txt
  12. setup.cfg
  13. setup.py
  14. setup_base.py
  15. testing/
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.