commit | 5fc25cf1912197e6ff67e3c925e4aeb1ed3f2f33 | [log] [tgz] |
---|---|---|
author | Steven Laver <lavers@google.com> | Sat Nov 09 19:05:01 2019 -0800 |
committer | Steven Laver <lavers@google.com> | Sat Nov 09 19:05:01 2019 -0800 |
tree | 0f638124f3689022c99d8c464002eb34755af309 | |
parent | b053576e3f3626d9cda24f286c305331274ce624 [diff] | |
parent | 71da7e6164907db8a5c667be72a1f6f7d49396e0 [diff] |
Merge RP1A.191031.003 Change-Id: I32e990112e6b89e24ac3c130cd1551bc0e71f65c
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.