|
|
8 years ago | |
|---|---|---|
| .. | ||
| c | 8 years ago | |
| cffi | 8 years ago | |
| demo | 8 years ago | |
| doc | 8 years ago | |
| testing | 8 years ago | |
| AUTHORS | 8 years ago | |
| LICENSE | 8 years ago | |
| MANIFEST.in | 8 years ago | |
| PKG-INFO | 8 years ago | |
| README.md | 8 years ago | |
| setup.cfg | 8 years ago | |
| setup.py | 8 years ago | |
| setup_base.py | 8 years ago | |
Foreign Function Interface for Python calling C code. Please see the Documentation or uncompiled in the doc/ subdirectory.
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.