hanchenye-llvm-project/clang/bindings/python
Alex Lorenz 4c087abe28 Remove duplicate python libclang changes from r320748
llvm-svn: 320766
2017-12-14 23:40:42 +00:00
..
clang Remove duplicate python libclang changes from r320748 2017-12-14 23:40:42 +00:00
examples/cindex
tests Remove duplicate python libclang changes from r320748 2017-12-14 23:40:42 +00:00
README.txt [python] [tests] Rewrite to use standard unittest module 2017-11-10 16:44:12 +00:00

README.txt

//===----------------------------------------------------------------------===//
// 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
--