[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / bindings / python / README.txt
blobb0f0142a56f11603e30ee9bbcc38ad6e3bbb3be8
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
9 runner. For example:
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
15 ...