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