Module Expr Str Assign NameStore Str Import alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias alias alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameStore Num Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num If CompareLt NameLoad Num body Assign NameStore NameStore NameLoad orelse Assign NameStore CompareIn Str NameLoad Assign NameStore CompareIn Str NameLoad If NameLoad body While Num body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Delete SubscriptDel NameLoad Slice NameLoad BinOpAdd NameLoad Num handlers ExceptHandler type NameLoad body Break If NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Delete SubscriptDel NameLoad Slice NameLoad BinOpAdd NameLoad Num handlers ExceptHandler type NameLoad body Pass Assign NameStore NameLoad If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Num orelse If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index BinOpAdd NameLoad Num If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Dict Str Str Str Str Str Str Str Str NameLoad ListLoad Str ListLoad Str ListLoad Str ListLoad Str Str ListLoad Str ListLoad Str Str NameLoad If CompareEq SubscriptLoad AttributeLoad NameLoad attr Slice Num Str body Assign SubscriptStore NameLoad Index Str ListLoad Str Assign NameStore ListLoad Str Str Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameStore NameStore Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Slice Num NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpOr AttributeLoad NameLoad attr CompareIs NameLoad NameLoad Call NameLoad NameLoad NameLoad body If NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad BinOpAdd NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad ListLoad NameLoad Str NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr ListLoad NameLoad NameLoad AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr ListLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad Num NameLoad NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad If CompareNotIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad NameLoad attr NameLoad NameLoad body Assign NameStore BinOpAdd BinOpAdd BinOpAdd NameLoad AttributeLoad NameLoad attr NameLoad ListLoad Str NameLoad If NameLoad body Assign SubscriptStore NameLoad Slice Num ListLoad Str If NameLoad body Assign SubscriptStore NameLoad Slice Num NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad TryExcept body If CompareEq NameLoad AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice orelse Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice If BoolOpAnd CompareEq NameLoad Str AttributeLoad NameLoad attr body Assign NameStore Num If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Str body Assign NameStore Num While CompareIn Str SubscriptLoad NameLoad Index NameLoad body Assign NameStore BinOpAdd NameLoad Num Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str If CompareEq SubscriptLoad AttributeLoad NameLoad attr Slice Num Str body Return BinOpAdd Str NameLoad orelse If CompareEq SubscriptLoad AttributeLoad NameLoad attr Slice Num Str body Return BinOpAdd Str NameLoad orelse If BoolOpOr CompareEq SubscriptLoad AttributeLoad NameLoad attr Slice Num Str CompareEq SubscriptLoad AttributeLoad NameLoad attr Slice Num Str body Return ListLoad Str NameLoad orelse If BoolOpOr CompareEq SubscriptLoad NameLoad Slice Num Str CompareEq SubscriptLoad NameLoad Slice Num Str body Return BinOpAdd Str NameLoad orelse Return BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad orelse If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Return NameLoad Return NameLoad decorator_list decorator_list
N/A N/A distutils.unixccompiler

Contains the UnixCCompiler class, a subclass of CCompiler that handles
the "typical" Unix-style command-line C compiler:
  * macros defined with -Dname[=value]
  * macros undefined with -Uname
  * include search directories specified with -Idir
  * libraries specified with -lllib
  * library search directories specified with -Ldir
  * compile handled by 'cc' (or similar) executable with -c option:
    compiles .c to .o
  * link static library handled by 'ar' command (possibly with 'ranlib')
  * link shared library handled by 'cc -shared'
 N/A __revision__ $Id: unixccompiler.py 54954 2007-04-25 06:42:41Z neal.norwitz $ N/A os sys types StringType NoneType copy copy distutils sysconfig distutils.dep_util newer distutils.ccompiler CCompiler gen_preprocess_options gen_lib_options distutils.errors DistutilsExecError CompileError LibError LinkError distutils log _darwin_compiler_fixup N/A N/A compiler_so cc_args N/A N/A N/A 
    This function will strip '-isysroot PATH' and '-arch ARCH' from the
    compile flags if the user has specified one them in extra_compile_flags.

    This is needed because '-arch ARCH' adds another architecture to the
    build, without a way to remove an architecture. Furthermore GCC will
    barf if multiple '-isysroot' arguments are present.
     N/A stripArch stripSysroot 0 N/A compiler_so N/A list compiler_so N/A kernel_version N/A N/A N/A os uname N/A 2 N/A major_version N/A int N/A N/A N/A kernel_version split . N/A 0 N/A N/A major_version 8 N/A N/A stripArch stripSysroot True N/A N/A stripArch N/A -arch cc_args N/A stripSysroot N/A -isysroot cc_args N/A stripArch N/A N/A 1 N/A N/A N/A N/A index N/A N/A compiler_so index -arch N/A N/A compiler_so N/A index N/A index 2 N/A N/A N/A ValueError N/A N/A N/A stripSysroot N/A N/A N/A N/A index N/A N/A compiler_so index -isysroot N/A N/A compiler_so N/A index N/A index 2 N/A N/A N/A ValueError N/A N/A N/A sysroot None N/A N/A -isysroot cc_args N/A N/A idx N/A N/A cc_args index -isysroot N/A sysroot N/A cc_args N/A N/A idx 1 N/A N/A N/A -isysroot compiler_so N/A N/A idx N/A N/A compiler_so index -isysroot N/A sysroot N/A compiler_so N/A N/A idx 1 N/A N/A sysroot N/A N/A N/A N/A os path isdir sysroot N/A N/A N/A N/A log warn Compiling with an SDK that doesn't seem to exist: %s sysroot N/A N/A N/A log warn Please check your Xcode installation N/A compiler_so N/A UnixCCompiler N/A CCompiler N/A N/A compiler_type unix N/A executables N/A preprocessor compiler compiler_so compiler_cxx linker_so linker_exe archiver ranlib None N/A cc N/A cc N/A cc N/A cc -shared N/A cc N/A ar -cr None N/A N/A N/A N/A sys platform N/A 6 darwin N/A N/A N/A executables N/A ranlib N/A ranlib N/A src_extensions N/A .c .C .cc .cxx .cpp .m N/A obj_extension .o N/A static_lib_extension .a N/A shared_lib_extension .so N/A dylib_lib_extension .dylib N/A static_lib_format shared_lib_format dylib_lib_format lib%s%s N/A N/A N/A sys platform cygwin N/A N/A exe_extension .exe preprocess N/A N/A self source output_file macros include_dirs extra_preargs extra_postargs N/A None None None None None N/A N/A N/A ignore macros include_dirs N/A N/A self _fix_compile_args None macros include_dirs N/A pp_opts N/A gen_preprocess_options macros include_dirs N/A pp_args N/A N/A self preprocessor pp_opts N/A output_file N/A N/A N/A N/A pp_args extend N/A -o output_file N/A extra_preargs N/A N/A N/A pp_args N/A 0 extra_preargs N/A extra_postargs N/A N/A N/A N/A pp_args extend extra_postargs N/A N/A N/A pp_args append source N/A N/A N/A self force N/A output_file None N/A newer source output_file N/A N/A output_file N/A N/A N/A N/A self mkpath N/A N/A N/A os path dirname output_file N/A N/A N/A N/A N/A self spawn pp_args N/A N/A N/A DistutilsExecError N/A msg N/A N/A CompileError msg N/A _compile N/A N/A self obj src ext cc_args extra_postargs pp_opts N/A N/A N/A compiler_so N/A self compiler_so N/A N/A N/A sys platform darwin N/A N/A compiler_so N/A _darwin_compiler_fixup compiler_so N/A cc_args extra_postargs N/A N/A N/A N/A N/A self spawn N/A N/A N/A compiler_so cc_args N/A src -o obj extra_postargs N/A N/A N/A DistutilsExecError N/A msg N/A N/A CompileError msg N/A create_static_lib N/A N/A self objects output_libname output_dir debug target_lang N/A None 0 None N/A N/A N/A objects output_dir N/A N/A self _fix_object_args objects output_dir N/A output_filename N/A N/A self library_filename output_libname output_dir output_dir N/A N/A N/A self _need_link objects output_filename N/A N/A N/A N/A self mkpath N/A N/A N/A os path dirname output_filename N/A N/A N/A self spawn N/A N/A N/A N/A self archiver N/A output_filename objects N/A self objects N/A N/A self ranlib N/A N/A N/A N/A N/A N/A self spawn N/A N/A self ranlib N/A output_filename N/A N/A N/A DistutilsExecError N/A msg N/A N/A LibError msg N/A N/A N/A N/A log debug skipping %s (up-to-date) output_filename N/A link N/A N/A self target_desc objects output_filename output_dir libraries library_dirs runtime_library_dirs export_symbols debug extra_preargs extra_postargs build_temp target_lang N/A None None None None None 0 None None None None N/A N/A N/A objects output_dir N/A N/A self _fix_object_args objects output_dir N/A N/A libraries library_dirs runtime_library_dirs N/A N/A self _fix_lib_args libraries library_dirs runtime_library_dirs N/A lib_opts N/A gen_lib_options self library_dirs runtime_library_dirs libraries N/A N/A N/A type output_dir N/A StringType NoneType N/A N/A TypeError 'output_dir' must be a string or None N/A N/A output_dir None N/A N/A output_filename N/A N/A N/A os path join output_dir output_filename N/A N/A N/A self _need_link objects output_filename N/A N/A ld_args N/A N/A N/A objects N/A self objects lib_opts N/A -o output_filename N/A debug N/A N/A N/A ld_args N/A 0 N/A -g N/A extra_preargs N/A N/A N/A ld_args N/A 0 extra_preargs N/A extra_postargs N/A N/A N/A N/A ld_args extend extra_postargs N/A N/A N/A self mkpath N/A N/A N/A os path dirname output_filename N/A N/A N/A N/A target_desc N/A CCompiler EXECUTABLE N/A N/A linker N/A N/A self linker_exe N/A N/A N/A linker N/A N/A self linker_so N/A N/A N/A N/A target_lang c++ N/A self compiler_cxx N/A N/A i 0 N/A N/A N/A N/A N/A os path basename N/A linker N/A 0 env N/A N/A i 1 N/A N/A = N/A linker N/A i N/A N/A i N/A i 1 N/A N/A linker N/A i N/A N/A self compiler_cxx N/A i N/A N/A N/A sys platform darwin N/A N/A linker N/A _darwin_compiler_fixup linker ld_args N/A N/A N/A self spawn N/A linker ld_args N/A N/A N/A DistutilsExecError N/A msg N/A N/A LinkError msg N/A N/A N/A N/A log debug skipping %s (up-to-date) output_filename N/A library_dir_option N/A N/A self dir N/A N/A N/A N/A -L dir N/A runtime_library_dir_option N/A N/A self dir N/A N/A N/A compiler N/A N/A N/A os path basename N/A N/A sysconfig get_config_var CC N/A N/A N/A N/A sys platform N/A 6 darwin N/A N/A N/A -L dir N/A N/A N/A N/A N/A sys platform N/A 5 hp-ux N/A N/A N/A +s -L dir N/A N/A N/A N/A N/A N/A sys platform N/A 7 irix646 N/A N/A N/A sys platform N/A 6 osf1V5 N/A N/A N/A -rpath dir N/A N/A N/A N/A N/A compiler N/A 3 gcc N/A N/A compiler N/A 3 g++ N/A N/A N/A -Wl,-R dir N/A N/A N/A -R dir N/A library_option N/A N/A self lib N/A N/A N/A N/A -l lib N/A find_library_file N/A N/A self dirs lib debug N/A 0 N/A N/A shared_f N/A N/A self library_filename lib lib_type shared N/A dylib_f N/A N/A self library_filename lib lib_type dylib N/A static_f N/A N/A self library_filename lib lib_type static N/A dir dirs N/A N/A shared N/A N/A N/A os path join dir shared_f N/A dylib N/A N/A N/A os path join dir dylib_f N/A static N/A N/A N/A os path join dir static_f N/A N/A N/A N/A os path exists dylib N/A N/A dylib N/A N/A N/A N/A N/A os path exists shared N/A N/A shared N/A N/A N/A N/A N/A os path exists static N/A N/A static N/A None N/A N/A