Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
c/ | 03-May-2024 | - | 20,743 | 16,929 | ||
cffi/ | 03-May-2024 | - | 9,158 | 7,340 | ||
demo/ | 03-May-2024 | - | 3,037 | 2,288 | ||
doc/ | 03-May-2024 | - | 5,870 | 4,300 | ||
testing/ | 03-May-2024 | - | 17,239 | 15,017 | ||
AUTHORS | D | 03-May-2024 | 208 | 9 | 5 | |
Android.bp | D | 03-May-2024 | 987 | 32 | 29 | |
LICENSE | D | 03-May-2024 | 1.3 KiB | 27 | 20 | |
MANIFEST.in | D | 03-May-2024 | 280 | 7 | 6 | |
METADATA | D | 03-May-2024 | 348 | 18 | 16 | |
MODULE_LICENSE_MIT | D | 03-May-2024 | 0 | |||
README.md | D | 03-May-2024 | 779 | 31 | 21 | |
requirements.txt | D | 03-May-2024 | 17 | 3 | 2 | |
setup.cfg | D | 03-May-2024 | 34 | 3 | 2 | |
setup.py | D | 03-May-2024 | 8.9 KiB | 251 | 197 | |
setup_base.py | D | 03-May-2024 | 913 | 23 | 18 |
README.md
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