cffi /

Filename Size Date modified Message
c
cffi
demo
doc
testing
235 B
Ignore *~.
149 B
enable tests on win32 in ownlib, 3 fail
754 B
Removed tag release-0.1
173 B
disable emails
208 B
Add my employer in AUTHORS
1.3 KB
authors and license
280 B
Missing .c and .h files
779 B
tweak
17 B
'platformer' is no longer a requirement (for now only maybe)
8.6 KB
Add Python 3.6 in that list
913 B
hg merge default

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.