1 //===----------------------------------------------------------------------===//
2 // Clang Python Bindings
3 //===----------------------------------------------------------------------===//
5 This directory implements Python bindings for Clang.
7 You may need to set CLANG_LIBRARY_PATH so that the Clang library can be
8 found. The unit tests are designed to be run with any standard test
11 $ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \
12 CLANG_LIBRARY_PATH=$(llvm-config --libdir) \
13 python -m unittest discover -v
14 tests.cindex.test_index.test_create ... ok