README.txt 607 B

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