Skip to content

Setuptools build_ext designed to work with Karellen Clang

License

Notifications You must be signed in to change notification settings

karellen/clang-build-ext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clang Build Extension

Gitter Build Status Coverage Status

Clang Build Ext Version Clang Build Ext Python Versions

Clang Build Ext Downloads Per Day Clang Build Ext Downloads Per Week Clang Build Ext Downloads Per Month

The clang-build-ext extension builds Python extensions using a Clang compiler stack. Either system LLVM/Clang or karellen-llvm-clang package can be used.

Beyond compiler the additional functionality is currently undocumented.

How to Use

Add the following to the setup.py script:

from setuptools import setup
from karellen.clang_build_ext import ClangBuildExt, ClangBuildClib

...

setup(
..., 
cmdclass={"build_ext": ClangBuildExt,
          "build_clib": ClangBuildClib},)
)