Classes | |
class | custom_build_ext |
Functions | |
def | customize_compiler_for_nvcc |
Variables | |
_compile | |
dictionary | cmdclass = {'build_ext': custom_build_ext} |
compiler_so | |
list | ext_modules |
string | name = 'bbox_cython' |
tuple | numpy_include = np.get_include() |
def bbox.setup_linux.customize_compiler_for_nvcc | ( | self | ) |
inject deep into distutils to customize how the dispatch to gcc/nvcc works. If you subclass UnixCCompiler, it's not trivial to get your subclass injected in, and still have the right customizations (i.e. distutils.sysconfig.customize_compiler) run on it. So instead of going the OO route, I have this. Note, it's kindof like a wierd functional subclassing going on.
Definition at line 24 of file bbox/setup_linux.py.
Definition at line 30 of file bbox/setup_linux.py.
dictionary bbox::setup_linux::cmdclass = {'build_ext': custom_build_ext} |
Definition at line 81 of file bbox/setup_linux.py.
Definition at line 30 of file bbox/setup_linux.py.
00001 [ 00002 Extension( 00003 "bbox", 00004 ["bbox.pyx"], 00005 extra_compile_args={'gcc': ["-Wno-cpp", "-Wno-unused-function"]}, 00006 include_dirs=[numpy_include] 00007 ), 00008 ]
Definition at line 68 of file bbox/setup_linux.py.
string bbox::setup_linux::name = 'bbox_cython' |
Definition at line 78 of file bbox/setup_linux.py.
tuple bbox::setup_linux::numpy_include = np.get_include() |
Definition at line 19 of file bbox/setup_linux.py.