You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| c | 1 year ago | |
| cffi | 1 year ago | |
| demo | 1 year ago | |
| doc | 1 year ago | |
| testing | 1 year ago | |
| AUTHORS | 1 year ago | |
| Android.bp | 1 year ago | |
| LICENSE | 1 year ago | |
| MANIFEST.in | 1 year ago | |
| METADATA | 1 year ago | |
| MODULE_LICENSE_MIT | 1 year ago | |
| README.md | 1 year ago | |
| requirements.txt | 1 year ago | |
| setup.cfg | 1 year ago | |
| setup.py | 1 year ago | |
| setup_base.py | 1 year ago | |
README.md
CFFI
Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.
Download
Contact
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.