compilertools.imports

Import machinery

compilertools.imports.ARCH_SUFFIXES = ['.avx512-intel.cpython-37m-x86_64-linux-gnu.so', '.avx512-intel.abi3.so', '.avx512-intel.so', '.avx512.cpython-37m-x86_64-linux-gnu.so', '.avx512.abi3.so', '.avx512.so', '.intel.cpython-37m-x86_64-linux-gnu.so', '.intel.abi3.so', '.intel.so']

Current arch compatibles suffixes

compilertools.imports.update_extensions_suffixes(compiler)[source]

Updates file extensions suffixes compatibles with current machine with ones from a specified compiler.

Parameters:compiler (str or None) – compiler name. If None, uses default compiler name on current platform