mozillazg / cffi

The unofficial GitHub mirror of https://foss.heptapod.net/pypy/cffi

Home Page:https://foss.heptapod.net/pypy/cffi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ARCHIVED as of 25 Sep 2023

This project has moved to https://github.com/python-cffi/cffi/

CFFI

Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.

Download

Download page

Source Code

CFFI is developed using Mercurial SCM. The source code is publicly available on heaptapod.

You can read more about how to contribute to the project on PyPy's documentation.

Contact

Mailing list

Testing/development tips

To run tests under CPython, run::

pip install pytest     # if you don't have pytest already
pip install pycparser
python setup.py build_ext -f -i
pytest 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.

About

The unofficial GitHub mirror of https://foss.heptapod.net/pypy/cffi

https://foss.heptapod.net/pypy/cffi

License:Other


Languages

Language:Python 64.8%Language:C 34.9%Language:Assembly 0.2%Language:Batchfile 0.2%