19 lines · plain
1//===----------------------------------------------------------------------===//2// Clang Python Bindings3//===----------------------------------------------------------------------===//4 5This directory implements Python bindings for Clang.6 7You may need to set CLANG_LIBRARY_PATH so that the Clang library can be8found. The unit tests are designed to be run with any standard test9runner. For example:10--11$ env PYTHONPATH=$(echo ~/llvm/clang/bindings/python/) \12 CLANG_LIBRARY_PATH=$(llvm-config --libdir) \13 python3 -m unittest discover -v14tests.cindex.test_index.test_create ... ok15...16 17OK18--19