numpy.distutils.ccompiler#

函式

CCompiler_compile(self, sources[, ...])

編譯一個或多個原始碼檔案。

CCompiler_customize(self, dist[, need_cxx])

對編譯器實例進行任何平台特定的客製化。

CCompiler_customize_cmd(self, cmd[, ignore])

使用 distutils 命令客製化編譯器。

CCompiler_cxx_compiler(self)

傳回 C++ 編譯器。

CCompiler_find_executables(self)

此處不做任何事,但會被 get_version 方法呼叫,並且可以被子類別覆寫。

CCompiler_get_version(self[, force, ok_status])

傳回編譯器版本,如果編譯器不可用則傳回 None。

CCompiler_object_filenames(self, ...[, ...])

傳回給定原始碼檔案的物件檔名。

CCompiler_show_customization(self)

將編譯器客製化設定列印到 stdout。

CCompiler_spawn(self, cmd[, display, env])

在子程序中執行命令。

gen_lib_options(compiler, library_dirs, ...)

new_compiler([plat, compiler, verbose, ...])

replace_method(klass, method_name, func)

simple_version_match([pat, ignore, start])

簡單的版本號碼比對,用於 CCompiler 和 FCompiler 中。