blob: 742cf8fbb8fc5c3f3c21aad951facab63919980e [file] [log] [blame]
Daniel Dunbar30c0f262010-01-24 02:02:07 +00001//===----------------------------------------------------------------------===//
2// Clang Python Bindings
3//===----------------------------------------------------------------------===//
4
Daniel Dunbarf51f20f2010-04-30 21:51:10 +00005This directory implements Python bindings for Clang.
Daniel Dunbar30c0f262010-01-24 02:02:07 +00006
Daniel Dunbarf51f20f2010-04-30 21:51:10 +00007You may need to alter LD_LIBRARY_PATH so that the Clang library can be
Daniel Dunbar30c0f262010-01-24 02:02:07 +00008found. 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
13tests.cindex.test_index.test_create ... ok
14...
15
16OK
17--