commit | 11106c32f6af49935387d83aed1b1d60a77f21b4 | [log] [tgz] |
---|---|---|
author | Xin Li <[email protected]> | Wed Jun 02 16:50:24 2021 +0000 |
committer | Xin Li <[email protected]> | Wed Jun 02 16:50:24 2021 +0000 |
tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
parent | f4dec22f05d14590c2cf1b2181ac9117a2ea6732 [diff] | |
parent | 9f0bad686d0e7517a28c3992cd768f9111ff276f [diff] |
Merge sc-mainline-prod Bug: 189946434 Change-Id: I0bc687659f9d6518f1c9b8be4fb101d431ed12a1
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.