Home | History | Annotate | Download | only in python
      1 //===----------------------------------------------------------------------===//
      2 // Clang Python Bindings
      3 //===----------------------------------------------------------------------===//
      4 
      5 This directory implements Python bindings for Clang.
      6 
      7 You may need to alter LD_LIBRARY_PATH so that the Clang library can be
      8 found. The unit tests are designed to be run with 'nosetests'. For example:
      9 --
     10 $ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \
     11       LD_LIBRARY_PATH=$(llvm-config --libdir) \
     12   nosetests -v
     13 tests.cindex.test_index.test_create ... ok
     14 ...
     15 
     16 OK
     17 --
     18