get_compiler

extension_helpers.get_compiler()

Determines the compiler that will be used to build extension modules.

Returns:

compiler – The compiler option specified for the build, build_ext, or build_clib command; or the default compiler for the platform if none was specified.

Return type:

str