This instance will be upgraded to Heptapod 0.27.1 on 2021-12-08 at 22:00 UTC+1 (a few minutes of down time)

README.md 780 Bytes
Newer Older
1
CFFI
2
====
Armin Rigo's avatar
Armin Rigo committed
3

4
Foreign Function Interface for Python calling C code.
5
6
Please see the [Documentation](http://cffi.readthedocs.org/) or uncompiled
in the doc/ subdirectory.
7

Armin Rigo's avatar
Armin Rigo committed
8
9
Download
--------
10

Matt Davis's avatar
Matt Davis committed
11
[Download page](https://foss.heptapod.net/pypy/cffi/-/tags)
Armin Rigo's avatar
Armin Rigo committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

Contact
-------

[Mailing list](https://groups.google.com/forum/#!forum/python-cffi)

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.