2010-01-24 05:02:07 +03:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Clang Python Bindings
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2010-05-01 01:51:10 +04:00
|
|
|
This directory implements Python bindings for Clang.
|
2010-01-24 05:02:07 +03:00
|
|
|
|
2010-05-01 01:51:10 +04:00
|
|
|
You may need to alter LD_LIBRARY_PATH so that the Clang library can be
|
2010-01-24 05:02:07 +03:00
|
|
|
found. The unit tests are designed to be run with 'nosetests'. For example:
|
|
|
|
--
|
|
|
|
$ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \
|
|
|
|
LD_LIBRARY_PATH=$(llvm-config --libdir) \
|
|
|
|
nosetests -v
|
|
|
|
tests.cindex.test_index.test_create ... ok
|
|
|
|
...
|
|
|
|
|
|
|
|
OK
|
|
|
|
--
|