| commit | 752a402caa428d3d8e66a9421309347d057ea00f | [log] [tgz] |
|---|---|---|
| author | Android Build Coastguard Worker <[email protected]> | Wed Jun 15 21:42:30 2022 +0000 |
| committer | Android Build Coastguard Worker <[email protected]> | Wed Jun 15 21:42:30 2022 +0000 |
| tree | ee2d0182d9611b11c7d1e2229bce499e812480f3 | |
| parent | 44f56fc00bf98ab8e9a865144c99e366771a69b3 [diff] | |
| parent | 9f0bad686d0e7517a28c3992cd768f9111ff276f [diff] |
Snap for 8730993 from 9f0bad686d0e7517a28c3992cd768f9111ff276f to mainline-tzdata3-release Change-Id: I8a126087d1d23e9d1ecc6ac9d4971dfe60a3e5a2
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.