libclang-python3


Ⅰ. 插件描述

libclang bindings for Python 3

Ⅱ. 基本信息

创建日期:  2014-04-10
使用用户:  5
Github星:  5
插件作者:  Koichi Shiraishi

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'zchee/libclang-python3'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'zchee/libclang-python3'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'zchee/libclang-python3'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/zchee/libclang-python3

Ⅳ. 文档说明

# libclang-python3

Status
Travis CITravis CI
Circle CICircle CI

This is a port of the clang Python bindings to Python 3. I strive to be as
close as possible to the Python 2 bindings; in fact, the unit tests are
exactly the same except for one minor difference in io (which is due to
changes in the Python API.)

This release of the library is compatible with Clang 3.6.

You may need to alter LD_LIBRARY_PATH so that the Clang library can be

  1. The unit tests are designed to be run with 'nosetests'. For example:
$ LD_LIBRARY_PATH=$(llvm-config-3.6 --libdir) nosetests3 -v

Status

This build is synced against 3.6 upstream.

Installation

On Ubuntu, you need the python3-nose package. You can install it using
sudo apt-get install python3-nose. Alternatively, you can download it using
pip.

添加新评论