Metadata-Version: 2.1
Name: libclang
Version: 11.1.0
Summary: Clang Python Bindings, mirrored from the official LLVM repo: https://github.com/llvm/llvm-project/tree/master/clang/bindings/python, to make the installation process easier.
Home-page: https://github.com/sighingnow/libclang
Author: Tao He
Author-email: sighingnow@gmail.com
License: Apache License 2.0
Project-URL: Documentation, https://libclang.readthedocs.io
Project-URL: Source, https://github.com/sighingnow/libclang
Project-URL: Tracker, https://github.com/sighingnow/libclang/issues
Keywords: Clang Python Bindings
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Compilers
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: Apache Software License
Description-Content-Type: text/markdown
License-File: LICENSE.TXT

libclang-for-pip
================

![PyPI](https://img.shields.io/pypi/v/libclang)
![Python](https://img.shields.io/pypi/pyversions/libclang)
![Downloads](https://img.shields.io/pypi/dw/libclang)
![License](https://img.shields.io/pypi/l/libclang)

![Linux](https://github.com/sighingnow/libclang/workflows/libclang-linux-amd64/badge.svg)
![MacOS](https://github.com/sighingnow/libclang/workflows/libclang-macosx-amd64/badge.svg)
![Windows](https://github.com/sighingnow/libclang/workflows/libclang-windows-amd64/badge.svg)

The repository contains code that taken from [the LLVM project][1], to make it easier to install
clang's python bindings.

The repository copys necessary Python binding files from LLVM repo, and adds packaging scripts
to make it a valid Python package, the uploads the package to [pypi][2]. To make the libclang
available without install the LLVM toolkits, this package provides bundled static-linked libclang
shared library for different platforms, which, should work well on OSX, Windows, as well as
usual Linux distributions.

The aim of this project is to make the `clang.cindex` (aka., Clang Python Bindings)
available for more Python users, without setup the LLVM environment. To install the package,
you just need to run

```bash
pip install clang
```

Internals
---------

Update class variable `library_path` of `Config` in `cindex.py` as:

```python
    library_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'native')
```

License
-------

This repository follows the license agreement of the LLVM project, see [./LICENSE.TXT]
(Apache-2.0 WITH LLVM-exception).

[1]: https://github.com/llvm/llvm-project/tree/master/clang/bindings/python
[2]: https://pypi.org/project/libclang


