%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/
Upload File :
Create Path :
Current File : //proc/self/root/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/unixccompiler.pyc

�
�9Zc@`s�dZddlmZmZmZddlZddlmZmZddl	Tddl
mZddlm
Z
ejddkr�d	d
lmZndd
lmZd�Zeede�dddd
�Zeede�dS(s>
unixccompiler - can handle very long argument lists for ar.

i(tdivisiontabsolute_importtprint_functionN(tDistutilsExecErrortCompileError(t*(treplace_method(t
get_exceptionii(tlogcC`s�|j}|ddkrjd|kr5|jd�nd|krQ|jd�n|dg7}||_ndtjkrCddlm}djtjdj��}	dj|d�dj��}
dj|j�}|	|kr|j|
|	�}|j�|_ndj|j	�}|	|krC|j�|	j�|_	qCnd	tj
j|jd�|f}
y/|j|j||d
|g|d|
�Wn,t
k
r�tt��}t|��nXdS(
s9Compile a single source files with a Unix-style compiler.itaCCs-Aes-Aas-AAtOPT(tget_config_varst s%s: %ss-otdisplayN(tcompiler_sotremovetostenvirontdistutils.sysconfigRtjointsplittreplacet	linker_sotpathtbasenametspawnRtstrRR(tselftobjtsrctexttcc_argstextra_postargstpp_optstccompRtopttgcv_opttccomp_stllink_sR
tmsg((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/unixccompiler.pytUnixCCompiler__compiles4	
#
t_compilec
C`s�|j||�\}}|j|d|�}|j||�r�ytj|�Wnttfk
rinX|jtjj	|��||j
}xk|r�|d }|d}dtjj|jd�t
|�|f}|j|j|g|d|�q�W|jr�dtjj|jd�|f}y!|j|j|gd|�Wq}tk
rytt��}	t|	��q}Xq�ntjd|�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 %siR
s%s:@ %ssskipping %s (up-to-date)N(t_fix_object_argstlibrary_filenamet
_need_linkRtunlinktIOErrortOSErrortmkpathRtdirnametobjectsRtarchivertlenRtranlibRRRtLibErrorRtdebug(
RR3toutput_libnameR*R8ttarget_langtoutput_filenamettmp_objectsR
R'((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/unixccompiler.pytUnixCCompiler_create_static_lib9s8
	

	

tcreate_static_lib(t__doc__t
__future__RRRRtdistutils.errorsRRtdistutils.unixccompilertnumpy.distutils.ccompilerRtnumpy.distutils.compatRtsystversion_infotRtnumpy.distutilsR(t
UnixCCompilertNoneR=(((sP/opt/alt/python27/lib64/python2.7/site-packages/numpy/distutils/unixccompiler.pyt<module>s
	"B	

Zerion Mini Shell 1.0