freebsd-skq/bindings/python
2017-12-18 20:11:37 +00:00
..
clang Vendor import of clang trunk r321017: 2017-12-18 20:11:37 +00:00
examples/cindex Vendor import of clang RELEASE_350/final tag r216957 (effectively, 3.5.0 release): 2014-11-24 09:15:30 +00:00
tests Vendor import of clang trunk r321017: 2017-12-18 20:11:37 +00:00
README.txt Vendor import of clang trunk r321017: 2017-12-18 20:11:37 +00:00

//===----------------------------------------------------------------------===//
// Clang Python Bindings
//===----------------------------------------------------------------------===//

This directory implements Python bindings for Clang.

You may need to alter LD_LIBRARY_PATH so that the Clang library can be
found. The unit tests are designed to be run with any standard test
runner. For example:
--
$ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \
      LD_LIBRARY_PATH=$(llvm-config --libdir) \
  python -m unittest discover -v
tests.cindex.test_index.test_create ... ok
...

OK
--