Codebase list python-cffi-py2 / d37c7a77-09f4-4418-82b0-419a55b1e776/main README.md
d37c7a77-09f4-4418-82b0-419a55b1e776/main

Tree @d37c7a77-09f4-4418-82b0-419a55b1e776/main (Download .tar.gz)

README.md @d37c7a77-09f4-4418-82b0-419a55b1e776/mainview markup · raw · history · blame

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.