• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1CFFI
2====
3
4Foreign Function Interface for Python calling C code.
5Please see the [Documentation](http://cffi.readthedocs.org/) or uncompiled
6in the doc/ subdirectory.
7
8Download
9--------
10
11[Download page](https://bitbucket.org/cffi/cffi/downloads)
12
13Contact
14-------
15
16[Mailing list](https://groups.google.com/forum/#!forum/python-cffi)
17
18Testing/development tips
19------------------------
20
21To run tests under CPython, run::
22
23    pip install pytest     # if you don't have py.test already
24    pip install pycparser
25    python setup.py build_ext -f -i
26    py.test c/ testing/
27
28If you run in another directory (either the tests or another program),
29you should use the environment variable ``PYTHONPATH=/path`` to point
30to the location that contains the ``_cffi_backend.so`` just compiled.
31