Ńņ \ŠKc @sdZddkZddklZlZddkTddklZddkZd„Z ee de ƒdddd „Z ee d e ƒdS( s= unixccompiler - can handle very long argument lists for ar. i’’’’N(tDistutilsExecErrort CompileError(t*(treplace_methodc Cswdtii|idƒ|f}y/|i|i||d|g|d|ƒWntj o}t|‚nXdS(s9Compile a single source files with a Unix-style compiler.s%s: %sis-otdisplayN(tostpathtbasenamet compiler_sotspawnRR( tselftobjtsrctexttcc_argstextra_postargstpp_optsRtmsg((sC/usr/lib64/python2.6/site-packages/numpy/distutils/unixccompiler.pytUnixCCompiler__compiles #t_compileic CsŽ|i||ƒ\}}|i|d|ƒ}|i||ƒo:yti|ƒWnttfj onX|itii |ƒƒ||i }xm|oe|d }|d}dtii |i dƒt |ƒ|f}|i|i |g|d|ƒq–W|ioidtii |idƒ|f}y!|i|i|gd|ƒWqvtj o} t| ‚qvXqŠntid|ƒdS( sŒ Build a static library in a separate sub-process. Parameters ---------- objects : list or tuple of str List of paths to object files used to build the static library. output_libname : str The library name as an absolute or relative (if `output_dir` is used) path. output_dir : str, optional The path to the output directory. Default is None, in which case the ``output_dir`` attribute of the UnixCCompiler instance. debug : bool, optional This parameter is not used. target_lang : str, optional This parameter is not used. Returns ------- None t output_diri2s %s: adding %d object files to %siRs%s:@ %ssskipping %s (up-to-date)N(t_fix_object_argstlibrary_filenamet _need_linkRtunlinktIOErrortOSErrortmkpathRtdirnametobjectsRtarchivertlenR tranlibRtLibErrortlogtdebug( R Rtoutput_libnameRR#t target_langtoutput_filenamet tmp_objectsRR((sC/usr/lib64/python2.6/site-packages/numpy/distutils/unixccompiler.pytUnixCCompiler_create_static_libs8       tcreate_static_lib( t__doc__Rtdistutils.errorsRRtdistutils.unixccompilertnumpy.distutils.ccompilerRR"Rt UnixCCompilertNoneR((((sC/usr/lib64/python2.6/site-packages/numpy/distutils/unixccompiler.pyts    A