Skip to content
Snippets Groups Projects
user avatar
Armin Rigo authored
Second try with '# NUMBER' instead of '#line NUMBER', as gcc seems to output
b6c5e557
History
Name Last commit Last update
c
cffi
demo
doc
testing
.gitignore
.hgignore
.hgtags
AUTHORS
LICENSE
MANIFEST.in
README.md
requirements.txt
setup.cfg
setup.py
setup_base.py

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.