Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore ListLoad Assign NameStore Str For NameStore NameLoad body If CompareIn NameLoad ListLoad Str Str Str Str body Assign NameStore NameLoad orelse Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list Return NameLoad decorator_list Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Dict TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str TupleLoad Str Str Str Str Str Str Str Assign NameStore ListLoad Str Str Str Str Str Str Str Str Assign NameStore Dict Str Str Str Str Str Str Str Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str ListLoad Str Assign NameStore NameLoad FunctionDef arguments args defaults body Expr Str Global identifier If CompareIs NameLoad NameLoad body Assign NameStore NameLoad If CompareNotEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad Str attr ListComp NameLoad comprehension NameStore NameLoad CompareIn NameLoad BinOpAdd NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot CompareEq Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Return TupleLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotEq SubscriptLoad NameLoad Index Num Str body Assign TupleStore NameStore NameStore Call NameLoad NameLoad If CompareLt NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str If Call NameLoad body Assign NameStore BinOpAdd NameLoad Str TryExcept body Assign NameStore SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body Raise Call NameLoad BinOpMod Str NameLoad For NameStore NameLoad body Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index NameLoad Str Assign NameStore Dict Assign NameStore Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad TryFinally body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Str Index Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Str Index Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad NameLoad finalbody Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias identifier Assign NameStore TupleLoad Num Num Assign NameStore Str Assign NameStore Call NameLoad NameLoad If CompareIs NameLoad NameLoad body Raise Call NameLoad Str Assign NameStore Call AttributeLoad Str attr ListComp NameLoad comprehension NameStore NameLoad CompareIn NameLoad BinOpAdd NameLoad Str Assign NameStore Call NameLoad NameLoad If CompareLtELt Num NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str orelse If CompareLt NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call NameLoad NameLoad NameLoad Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad For NameStore SubscriptLoad NameLoad Index Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Break If BoolOpOr CompareIs NameLoad NameLoad CompareIs NameLoad NameLoad body Raise Call NameLoad Str Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Slice Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Index Str keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad NameLoad Index Str keyword NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str If CompareGtE NameLoad TupleLoad Num Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str ListLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn NameLoad ListLoad Str body Expr Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad orelse If CompareIn NameLoad ListLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad decorator_list For NameStore ListLoad Str Str Str Str Str Str Str Str Str Str body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad FunctionDef arguments args NameParam defaults body Expr Call NameLoad NameLoad Return NameLoad decorator_list
N/A N/A os N/A re N/A subprocess N/A _winreg N/A yaku.task yaku.tools.mscommon.common read_values read_value get_output _exec_command_factory N/A N/A saved N/A N/A msvc_exec_command N/A N/A self cmd cwd env N/A None N/A N/A new_cmd N/A N/A carry N/A c cmd N/A N/A N/A c N/A /Fo /out: /OUT: /object: N/A N/A carry c N/A N/A c N/A carry c N/A carry N/A N/A N/A new_cmd append c N/A env N/A dict N/A os environ N/A N/A N/A env update PATH N/A N/A N/A os pathsep join N/A N/A self env N/A PATH N/A N/A saved self new_cmd cwd env env N/A N/A msvc_exec_command N/A N/A _ARCH_TO_CANONICAL N/A amd64 emt64 i386 i486 i586 i686 ia64 itanium x86 x86_64 amd64 amd64 x86 x86 x86 x86 ia64 ia64 x86 amd64 N/A _HOST_TARGET_ARCH_TO_BAT_ARCH N/A N/A x86 x86 N/A x86 amd64 N/A amd64 amd64 N/A amd64 x86 N/A x86 ia64 x86 x86_amd64 amd64 x86 x86_ia64 N/A _VCVER N/A 10.0 9.0 9.0Exp 8.0 8.0Exp 7.1 7.0 6.0 N/A _VCVER_TO_PRODUCT_DIR N/A 10.0 9.0 9.0Exp 8.0 8.0Exp 7.1 7.0 6.0 N/A Microsoft\VisualStudio\10.0\Setup\VC\ProductDir N/A Microsoft\VisualStudio\9.0\Setup\VC\ProductDir N/A Microsoft\VCExpress\9.0\Setup\VC\ProductDir N/A Microsoft\VisualStudio\8.0\Setup\VC\ProductDir N/A Microsoft\VCExpress\8.0\Setup\VC\ProductDir N/A Microsoft\VisualStudio\7.1\Setup\VC\ProductDir N/A Microsoft\VisualStudio\7.0\Setup\VC\ProductDir N/A Microsoft\VisualStudio\6.0\Setup\Microsoft Visual C++\ProductDir N/A _is_win64 None is_win64 N/A N/A N/A N/A N/A Return true if running on windows 64 bits.
    
    Works whether python itself runs in 64 bits or 32 bits. N/A _is_win64 N/A N/A _is_win64 None N/A N/A _is_win64 False N/A N/A N/A N/A N/A os environ get PROCESSOR_ARCHITECTURE x86 x86 N/A N/A _is_win64 True N/A N/A N/A N/A os environ get PROCESSOR_ARCHITEW6432 N/A N/A _is_win64 True N/A N/A N/A N/A os environ get ProgramW6432 N/A N/A _is_win64 True N/A _is_win64 N/A msvc_version_to_maj_min N/A N/A msvc_version N/A N/A N/A msvc_version_numeric N/A N/A join N/A x N/A x msvc_version N/A x N/A string_digits . N/A t N/A N/A msvc_version_numeric split . N/A N/A N/A N/A len t 2 N/A N/A N/A ValueError N/A Unrecognized version %s (%s) N/A msvc_version msvc_version_numeric N/A N/A N/A maj N/A int N/A t N/A 0 N/A min N/A int N/A t N/A 1 N/A N/A maj min N/A N/A N/A ValueError N/A e N/A N/A N/A ValueError N/A Unrecognized version %s (%s) N/A msvc_version msvc_version_numeric N/A is_host_target_supported N/A N/A host_target msvc_version N/A N/A N/A Return True if the given (host, target) tuple is supported given the
    msvc version.

    Parameters
    ----------
    host_target: tuple
        tuple of (canonalized) host-target, e.g. ("x86", "amd64") for cross
        compilation from 32 bits windows to 64 bits.
    msvc_version: str
        msvc version (major.minor, e.g. 10.0)

    Note
    ----
    This only check whether a given version *may* support the given (host,
    target), not that the toolchain is actually present on the machine.
     N/A N/A N/A host_target N/A 1 x86 N/A N/A N/A maj min N/A msvc_version_to_maj_min msvc_version N/A N/A maj 8 N/A N/A False N/A True N/A find_vc_pdir N/A N/A msvc_version N/A N/A N/A Try to find the product directory for the given
    version.

    Note
    ----
    If for some reason the requested version could not be found, an
    exception which inherits from VisualCException will be raised. N/A base N/A _winreg HKEY_LOCAL_MACHINE N/A root Software\ N/A N/A is_win64 N/A N/A root N/A root Wow6432Node\ N/A N/A N/A hkeys N/A _VCVER_TO_PRODUCT_DIR N/A msvc_version N/A N/A N/A KeyError N/A N/A N/A ValueError N/A Unknown version %s msvc_version N/A key hkeys N/A N/A key N/A root key N/A comps N/A read_value key N/A N/A comps None N/A N/A N/A N/A N/A os path exists comps N/A N/A comps N/A N/A N/A ValueError N/A registry dir %s not found on the filesystem comps N/A None N/A find_versions N/A N/A abi N/A N/A N/A base N/A _winreg HKEY_LOCAL_MACHINE N/A key N/A N/A N/A os path join N/A _FC_ROOT N/A abi Fortran N/A availables N/A N/A versions N/A read_keys base key N/A N/A versions None N/A N/A availables N/A v versions N/A N/A verk N/A N/A N/A os path join key v N/A key N/A open_key verk N/A N/A N/A maj N/A N/A N/A _winreg QueryValueEx key Major Version N/A 0 N/A min N/A N/A N/A _winreg QueryValueEx key Minor Version N/A 0 N/A bld N/A N/A N/A _winreg QueryValueEx key Revision N/A 0 N/A N/A availables N/A N/A maj min bld verk N/A N/A N/A close_key key N/A availables N/A _detect_msvc N/A N/A ctx N/A N/A string digits string_digits N/A msvc_version_info N/A 9 0 N/A msvc_version 9.0 N/A pdir N/A find_vc_pdir msvc_version N/A N/A pdir None N/A N/A N/A ValueError VS 9.0 not found N/A msvc_ver_numeric N/A N/A join N/A x N/A x msvc_version N/A x N/A string_digits . N/A vernum N/A float msvc_ver_numeric N/A N/A 7 vernum 8 N/A N/A pdir N/A N/A N/A os path join pdir N/A os pardir Common7 Tools N/A batfilename N/A N/A N/A os path join pdir vsvars32.bat N/A N/A N/A vernum 7 N/A N/A pdir N/A N/A N/A os path join pdir Bin N/A batfilename N/A N/A N/A os path join pdir vcvars32.bat N/A N/A batfilename N/A N/A N/A os path join pdir vcvarsall.bat N/A vc_paths N/A get_output ctx batfilename x86 N/A cc None N/A linker None N/A lib None N/A p N/A vc_paths N/A PATH N/A N/A _cc N/A N/A N/A os path join p cl.exe N/A _linker N/A N/A N/A os path join p link.exe N/A _lib N/A N/A N/A os path join p lib.exe N/A N/A N/A N/A N/A os path exists _cc N/A N/A N/A os path exists _linker N/A N/A N/A os path exists _lib N/A N/A cc _cc N/A linker _linker N/A lib _lib N/A N/A N/A N/A cc None N/A linker None N/A N/A N/A RuntimeError Could not find cl.exe/link.exe N/A N/A cc linker lib vc_paths msvc_version_info N/A setup N/A N/A ctx N/A N/A N/A env N/A ctx env N/A N/A cc linker lib vc_paths msvc_version_info N/A _detect_msvc ctx N/A N/A N/A ctx env N/A PATH N/A N/A vc_paths N/A PATH N/A N/A N/A N/A N/A ctx env prextend CPPPATH N/A vc_paths N/A INCLUDE create True N/A N/A N/A N/A ctx env prextend LIBDIR N/A vc_paths N/A LIB create True N/A N/A N/A ctx env N/A CC N/A cc N/A N/A N/A ctx env N/A CC_TGT_F N/A /c /Fo N/A N/A N/A ctx env N/A CC_SRC_F N/A N/A N/A N/A ctx env N/A CFLAGS N/A /nologo N/A N/A N/A ctx env N/A CPPPATH_FMT /I%s N/A N/A N/A ctx env N/A DEFINES N/A N/A N/A N/A ctx env N/A DEFINES_FMT /D%s N/A N/A N/A ctx env N/A LINK N/A linker N/A N/A N/A ctx env N/A LINK_TGT_F N/A /out: N/A N/A N/A ctx env N/A LINK_SRC_F N/A N/A N/A N/A ctx env N/A LINKFLAGS N/A /nologo N/A N/A N/A ctx env N/A SHLINK N/A linker /DLL N/A N/A N/A ctx env N/A SHLINK_TGT_F N/A /out: N/A N/A N/A ctx env N/A SHLINK_SRC_F N/A N/A N/A N/A ctx env N/A SHLINKFLAGS N/A N/A N/A N/A ctx env N/A MODLINK N/A linker /DLL N/A N/A N/A ctx env N/A MODLINK_TGT_F N/A /out: N/A N/A N/A ctx env N/A MODLINK_SRC_F N/A N/A N/A N/A ctx env N/A MODLINKFLAGS N/A /nologo N/A N/A N/A ctx env N/A LIBS N/A N/A N/A N/A ctx env N/A LIB_FMT %s.lib N/A N/A N/A ctx env N/A LIBDIR N/A N/A N/A N/A ctx env N/A LIBDIR_FMT /LIBPATH:%s N/A N/A N/A ctx env N/A STLINK N/A lib N/A N/A N/A ctx env N/A STLINK_TGT_F N/A /OUT: N/A N/A N/A ctx env N/A STLINK_SRC_F N/A N/A N/A N/A ctx env N/A STLINKFLAGS N/A /nologo N/A N/A N/A ctx env N/A STATICLIB_FMT %s.lib N/A N/A N/A ctx env N/A CXX N/A cc N/A N/A N/A ctx env N/A CXX_TGT_F N/A /c /Fo N/A N/A N/A ctx env N/A CXX_SRC_F N/A N/A N/A N/A ctx env N/A CXXFLAGS N/A /nologo N/A N/A msvc_version_info N/A 9 0 N/A N/A N/A N/A N/A ctx env append CXXFLAGS /EHsc N/A N/A N/A ctx env N/A CXXLINK N/A linker N/A N/A N/A ctx env N/A CXXLINKFLAGS N/A /nologo N/A N/A N/A ctx env N/A CXXLINK_TGT_F N/A /out: N/A N/A N/A ctx env N/A CXXLINK_SRC_F N/A N/A N/A N/A ctx env N/A CXXSHLINK N/A linker N/A N/A N/A ctx env N/A CXXSHLINKFLAGS N/A N/A N/A N/A ctx env N/A CXXSHLINK_TGT_F N/A /out: N/A N/A N/A ctx env N/A CXXSHLINK_SRC_F N/A N/A N/A N/A ctx env N/A CC_OBJECT_FMT %s.obj N/A N/A N/A ctx env N/A CXX_OBJECT_FMT %s.obj N/A N/A N/A ctx env N/A SHAREDLIB_FMT %s.dll N/A N/A N/A ctx env N/A PROGRAM_FMT %s.exe N/A N/A k v N/A N/A vc_paths items N/A N/A k N/A N/A k encode ascii N/A N/A k N/A LIB N/A N/A N/A N/A env extend LIBDIR v create True N/A N/A N/A k N/A CPPPATH N/A N/A N/A N/A env extend k v create True N/A N/A task_class N/A cc shcc cc_shlink cc_stlink cc_program cxx cxxprogram pycc pycxx pylink N/A N/A klass N/A N/A N/A yaku task task_factory task_class N/A saved N/A klass exec_command N/A N/A klass exec_command N/A _exec_command_factory saved detect N/A N/A ctx N/A N/A N/A N/A _detect_msvc ctx N/A True N/A