Home

Awesome

ccimport

Build Status

a tiny package for fast python c++ binding build.

ccimport 0.2.x support python 3.5. ccimport >= 0.3 support python 3.6-3.10.

Usage

build_meta = ccimport.BuildMeta()
build_meta.add_global_includes(...)
build_meta.add_global_cflags(...)
build_meta.add_ldflags(...)

lib = ccimport([path1, path2], out_path, build_meta)

Usage in setup.py

see example