3
eåU^z  ã               @   sf  d Z ddlmZmZmZ ddlZddlZddlZddlZddl	Z	ddl
mZ ddlmZmZ ddlmZ ddlmZmZ ddlmZ dd	lmZmZmZmZmZ dd
lmZ dd
lmZ  dd„ Z!G dd„ dejƒZ"ej#dej$ƒj%Z&ej#dej$ƒj%Z'ej#dej$ƒj%Z(ej#dej$ƒj)Z*ej#dej$ƒj)Z+dd„ Z,dd„ Z-dd„ Z.ej#dej$ƒj%Z/ej#dej$ƒj%Z0dd„ Z1dS )z Build swig and f2py sources.
é    )ÚdivisionÚabsolute_importÚprint_functionN)Ú	build_ext)Únewer_groupÚnewer)Úget_platform)ÚDistutilsErrorÚDistutilsSetupError)Úlog)Úfortran_ext_matchÚ
appendpathÚ	is_stringÚis_sequenceÚget_cmd)Úprocess_filec             C   sˆ   t jdƒ}t|dƒ�j}t| dƒ�T}xL|D ]D}|j|ƒ}|rb|j|jd|jdƒ ||jdƒ ƒƒ q(|j|ƒ q(W W dQ R X W dQ R X dS )zPSubstitute any occurrence of @foo@ by d['foo'] from source file into
    target.z@([a-zA-Z_]+)@ÚrÚwz@%s@é   N)ÚreÚcompileÚopenÚsearchÚwriteÚreplaceÚgroup)ÚtargetÚsourceÚdÚvarÚfsÚftÚlÚm© r$   úB/tmp/pip-build-fou5mlat/numpy/numpy/distutils/command/build_src.pyÚ
subst_vars   s    


(r&   c               @   sÒ   e Zd ZdZdBdCdDdEdFdGdHdIdKdMg
ZdddgZg Zdd„ Zdd„ Zd d!„ Z	d"d#„ Z
d$d%„ Zd&d'„ Zd(d)„ Zd*d+„ Zd,d-„ Zd.d/„ Zd0d1„ Zd2d3„ Zd4d5„ Zg fd6d7„Zd8d9„ Zd:d;„ Zd<d=„ Zd>d?„ Zd@dA„ ZdS )NÚ	build_srcz1build sources from SWIG, F2PY files or a functionú
build-src=r   údirectory to "build" sources toú
f2py-opts=Nú!list of f2py command line optionsúswig=úpath to the SWIG executableú
swig-opts=ú!list of SWIG command line optionsúswig-cppúAmake SWIG create C++ files (default is autodetected from sources)ú
f2pyflags=ú3additional flags to f2py (use --f2py-opts= instead)ú
swigflags=ú3additional flags to swig (use --swig-opts= instead)ÚforceÚfú2forcibly build everything (ignore file timestamps)ÚinplaceÚiz=ignore build-lib and put compiled extensions into the source z,directory alongside your pure Python modulesúverbose-cfgz;change logging level from WARN to INFO which will show all zcompiler outputc             C   sj   d | _ d | _d | _d | _d | _d | _d | _d | _d | _d | _	d | _
d | _d | _d | _d | _d | _d | _d S )N)Ú
extensionsÚpackageÚ
py_modulesÚpy_modules_dictr'   Ú	build_libÚ
build_baser6   r9   Úpackage_dirÚ	f2pyflagsÚ	f2py_optsÚ	swigflagsÚ	swig_optsÚswig_cppÚswigÚverbose_cfg)Úselfr$   r$   r%   Úinitialize_optionsA   s"    zbuild_src.initialize_optionsc             C   sÎ  | j ddddƒ | jd kr$| jj| _| jj| _| jjp8g | _| jjpFg | _| jjpTg | _| j	d kr”dj
tƒ ftjd d… žŽ }tjj| jd| ƒ| _	i | _| jrÀ| jr²tjdƒ n| j| _d | _| jd krÒg | _ntj| jƒ| _| j�r
| j� rütjd	ƒ n| j| _d | _| jd k�rg | _ntj| jƒ| _| jd
ƒ}| jd k�rJ|j| _| jd k�r^|j| _xjdD ]b}d|jddƒ }t||d ƒ}|�rdt| |ƒ�r¦tjd| ƒ ntj d||f ƒ t!| ||ƒ �qdW d S )NÚbuildrA   r@   r6   z	.{}-{}.{}é   Úsrcz0ignoring --f2pyflags as --f2py-opts already usedz0ignoring --swigflags as --swig-opts already usedr   rH   Úswig_optz--Ú_ú-z-both build_src and build_ext define %s optionz+using "%s=%s" option from build_ext command)rA   rA   )r@   r@   )r6   r6   )rH   rO   )"Úset_undefined_optionsr=   ÚdistributionÚext_packageÚext_modulesr<   Ú	librariesr>   Ú
data_filesr'   Úformatr   ÚsysÚversion_infoÚosÚpathÚjoinrA   r?   rC   rD   r   ÚwarnÚshlexÚsplitrE   rF   Úget_finalized_commandr9   rG   r   ÚgetattrÚinfoÚsetattr)rJ   Úplat_specifierr   ÚcÚoÚvr$   r$   r%   Úfinalize_optionsT   sV    






zbuild_src.finalize_optionsc             C   s&   t jdƒ | jp| jsd S | jƒ  d S )Nr'   )r   rc   r<   rV   Úbuild_sources)rJ   r$   r$   r%   ÚrunŽ   s    
zbuild_src.runc             C   sv   | j r| jdƒj| _| jƒ  x| jD ]}| j|Ž  q$W | jrb| j| jƒ x| jD ]}| j|ƒ qPW | j	ƒ  | j
ƒ  d S )NÚbuild_py)r9   ra   Úget_package_dirÚbuild_py_modules_sourcesrV   Úbuild_library_sourcesr<   Zcheck_extensions_listÚbuild_extension_sourcesÚbuild_data_files_sourcesÚbuild_npy_pkg_config)rJ   Zlibname_infoÚextr$   r$   r%   rj   ”   s    zbuild_src.build_sourcesc             C   sT  | j s
d S tjdƒ ddlm} g }�x| j D �]}t|tƒrJ|j|ƒ q.t|tƒ�r2|\}}| j	r~| j
dj|jtjƒƒƒ}ntjj| j|ƒ}dd„ |D ƒ}dd„ |D ƒ}xj|D ]b}|jjdkrÊ||ƒ}	n|ƒ }	|	d k	r°t|	tƒrî|j|	ƒ q°t|	tƒ�r|j|	ƒ q°tt|	ƒƒ‚q°W |||fƒ}
|j||
fƒ q.tt|ƒƒ‚q.W || j d d …< d S )	Nzbuilding data_files sourcesr   )Úget_data_filesÚ.c             S   s   g | ]}t |d ƒr|‘qS )Ú__call__)Úhasattr)Ú.0r7   r$   r$   r%   ú
<listcomp>·   s    z6build_src.build_data_files_sources.<locals>.<listcomp>c             S   s   g | ]}t |d ƒs|‘qS )rv   )rw   )rx   r7   r$   r$   r%   ry   ¸   s    r   )rW   r   rc   Únumpy.distutils.misc_utilrt   Ú
isinstanceÚstrÚappendÚtupler9   rm   r]   r`   r[   Úsepr\   r'   Ú__code__Úco_argcountÚlistÚextendÚ	TypeErrorÚrepr)rJ   rt   Znew_data_filesÚdatar   ÚfilesÚ	build_dirÚfuncsr7   ÚsÚ	filenamesr$   r$   r%   rq   ¨   s:    




z"build_src.build_data_files_sourcesc             C   s¾   |\}}}t jj|ƒ}x|jƒ D ]\}}|||< q W | jdkrNt jj||ƒ}	nt jj| j||ƒ}	t jjt jj|ƒd ƒ}
t jj|	|
ƒ}t jj	|	ƒsœt j
|	ƒ t|||ƒ t jj||ƒ}||fS )Nr   r   )r[   r\   ÚdirnameÚitemsr9   r]   r'   ÚbasenameÚsplitextÚexistsÚmakedirsr&   )rJ   rc   ÚgdÚtemplateÚinstall_dirZ
subst_dictZtemplate_dirÚkrh   Zgenerated_dirÚ	generatedZgenerated_pathZfull_install_dirr$   r$   r%   Ú_build_npy_pkg_configÌ   s    


zbuild_src._build_npy_pkg_configc             C   sÔ   t jdƒ tjtdƒƒ}|jdks*|jƒ  d}| jdkrBd}d}nt|dƒrV|j}d}|rÐxt| j	j
jƒ D ]d\}}| j	j| }tjjtjj|ƒ|ƒ}d|i}x0|D ](}	| j|	|ƒ\}
}| j	jj|
|gfƒ q W qhW d S )	Nz(build_src: building npy-pkg config filesÚinstallr   Fru   TÚinstall_libbaseÚprefix)r   rc   Úcopyr   Ú	finalizedri   r9   rw   r™   rS   Zinstalled_pkg_configr�   rB   r[   r\   r]   Úabspathr—   rW   r}   )rJ   Zinstall_cmdZ
build_npkgZ
top_prefixÚpkgZinfosZpkg_pathrš   r   rc   r”   r–   r$   r$   r%   rr   â   s(    





zbuild_src.build_npy_pkg_configc             C   sô   | j s
d S tjdƒ g }xÈ| j D ]¾}t|ƒrÔt|ƒdkrÔ|\}}}| jrT| j|ƒ}ntjj	| j
tjj	|jdƒŽ ƒ}t|dƒr–tjj	||d ƒ}||ƒ}|d kr q |||fg}|| jkrÀg | j|< | j|  |7  < q |j|ƒ q W || j d d …< d S )Nzbuilding py_modules sourcesé   ru   rv   z.py)r>   r   rc   r   Úlenr9   rm   r[   r\   r]   r'   r`   rw   r?   r}   )rJ   Znew_py_modulesr   r=   Zmodule_baserˆ   r   Úmodulesr$   r$   r%   rn      s,    





z"build_src.build_py_modules_sourcesc             C   st   t |jdg ƒƒ}|sd S tjd| ƒ | j|||fƒ}| j|||fƒ}| j|ƒ\}}|rhtjd| j|ƒ ||d< d S )NÚsourceszbuilding library "%s" sourcesz#%s - nothing done with h_files = %s)r‚   Úgetr   rc   Úgenerate_sourcesÚtemplate_sourcesÚfilter_h_filesr=   )rJ   Zlib_nameÚ
build_infor¢   Úh_filesr$   r$   r%   ro     s    
zbuild_src.build_library_sourcesc             C   s*  t |jƒ}tjd|j ƒ | j|jƒ}|jdƒ}dj|dd… ƒ}| jrT| j	|ƒ| _
| j||ƒ}| j||ƒ}| j||ƒ}| j||ƒ}| j||ƒ}| j|ƒ\}}|| jkr²g | j|< g }x4|D ],}tjjtjj|ƒƒd }	|j||	|fƒ q¼W | j|  |7  < | j|ƒ\}}
|
�r tjd||
ƒ ||_d S )Nzbuilding extension "%s" sourcesru   r   r   z#%s - nothing done with h_files = %séÿÿÿÿ)r‚   r¢   r   rc   ÚnameZget_ext_fullnamer`   r]   r9   rm   Úext_target_dirr¤   r¥   Úswig_sourcesÚf2py_sourcesÚpyrex_sourcesÚfilter_py_filesr?   r[   r\   r�   rŽ   r}   r¦   )rJ   rs   r¢   ÚfullnameZmodpathr=   Úpy_filesr¡   r7   Úmoduler¨   r$   r$   r%   rp   2  s2    




z!build_src.build_extension_sourcesc             C   s  g }g }x*|D ]"}t |ƒr&|j|ƒ q|j|ƒ qW |s<|S | jrTt|ƒ rT| j}n:t|ƒrf|d }n|j}tjj| j	g|j
dƒd d…  Ž }| j|ƒ | jr¦tj}ntj}tj|ƒ}	xX|D ]P}
|
||ƒ}|sÐq¼t|ƒròdd„ |D ƒ |j|ƒ q¼tjd|f ƒ |j|ƒ q¼W tj|	ƒ |S )Nr   ru   r   c             S   s   g | ]}t jd |f ƒ‘qS )z  adding '%s' to sources.)r   rc   )rx   rŠ   r$   r$   r%   ry   €  s    z.build_src.generate_sources.<locals>.<listcomp>z  adding '%s' to sources.r©   )r   r}   r9   r   r«   rª   r[   r\   r]   r'   r`   ÚmkpathrI   r   ÚINFOÚWARNÚset_thresholdrƒ   rc   )rJ   r¢   Ú	extensionÚnew_sourcesZfunc_sourcesr   rˆ   rª   Z	new_levelZ	old_levelÚfuncr$   r$   r%   r¤   Z  s>    






zbuild_src.generate_sourcesc             C   s   | j |dgƒS )Nz.py)Úfilter_files)rJ   r¢   r$   r$   r%   r¯   ˆ  s    zbuild_src.filter_py_filesc             C   s   | j |dddgƒS )Nz.hz.hppz.inc)rº   )rJ   r¢   r$   r$   r%   r¦   ‹  s    zbuild_src.filter_h_filesc             C   sL   g }g }x:|D ]2}t jj|ƒ\}}||kr6|j|ƒ q|j|ƒ qW ||fS )N)r[   r\   r�   r}   )rJ   r¢   Úextsr¸   r‡   r   Úbasers   r$   r$   r%   rº   Ž  s    
zbuild_src.filter_filesc             C   sj  g }t |ƒr*|d jdƒ}|d jdƒ}n|j}|j}�x,|D �]"}tjj|ƒ\}}|dk�rX| jrrtjj|ƒ}	nt	| j
tjj|ƒƒ}	| j|	ƒ tjj|	tjj|ƒƒ}
| js¾t|g| |
ƒ�rt|ƒrÞtjd|
 ƒ t|ƒ}ntjd|
 ƒ t|ƒ}t|
dƒ�}|j|ƒ W d Q R X t|
ƒ�rLtjj|
ƒ}||k�rLtjd| ƒ |j|ƒ |j|
ƒ q>|j|ƒ q>W |S )	Nr   ÚdependsÚinclude_dirsz.srczfrom_template:> %szconv_template:> %sr   z  adding '%s' to include_dirs.)r   r£   r½   r¾   r[   r\   r�   r9   rŒ   r   r'   r³   r]   rŽ   r6   r   Ú_f_pyf_ext_matchr   rc   Úprocess_f_fileÚprocess_c_filer   r   Ú_header_ext_matchr}   )rJ   r¢   r·   r¸   r½   r¾   r   r¼   rs   Ú
target_dirÚtarget_fileZoutstrZfidr   r$   r$   r%   r¥   ™  s<    





zbuild_src.template_sourcesc       	      C   sd   g }|j jdƒd }xJ|D ]B}tjj|ƒ\}}|dkrR| j||||ƒ}|j|ƒ q|j|ƒ qW |S )z@Pyrex not supported; this remains for Cython support (see below)ru   r   z.pyxr©   )rª   r`   r[   r\   r�   Úgenerate_a_pyrex_sourcer}   )	rJ   r¢   r·   r¸   Úext_namer   r¼   rs   rÄ   r$   r$   r%   r®   ½  s    
zbuild_src.pyrex_sourcesc             C   s   g S )zÄPyrex is not supported, but some projects monkeypatch this method.

        That allows compiling Cython code, see gh-6955.
        This method will remain here for compatibility reasons.
        r$   )rJ   r¼   rÆ   r   r·   r$   r$   r%   rÅ   Ì  s    z!build_src.generate_a_pyrex_sourcec             C   s(  g }g }g }i }g }|j jdƒd  }d}	�xj|D �]`}
tjj|
ƒ\}}|dk�rr| jrdtjj|ƒ}nt| jtjj|ƒƒ}tjj	|
ƒrºt
|
ƒ}||kr¦td|
||f ƒ‚tjj||d ƒ}n�tjd|
 ƒ |}d}	tjj||d ƒ}tjj	|ƒ�sJtjd||f ƒ tjj|ƒ}tjj||d ƒ}tjj	|ƒ�s<td	|f ƒ‚tjd
| ƒ |j|ƒ |j|
ƒ |||
< |j|ƒ q0t|ƒ�rˆ|j|
ƒ q0|j|
ƒ q0W |�pž|�s¦|S x|D ]}| j|ƒ �q¬W |j| j }| jj�rx4| jjD ](\}}||jk�rà|j|jdg ƒƒ �qàW tjd| ƒ |�rÆt|ƒdk�r<td|f ƒ‚|d }
||
 }tjj|ƒ�p\d}|
g|j }| j�s€t||dƒ�r¶|	 �r¶tjd|
 ƒ dd l}|jj |d||
g ƒ ntjd|
 ƒ nÒt!|ƒ�rÚ|d }n|j }tjj| jg|jdƒd d!…  Ž }tjj||d ƒ}|j|ƒ ||j }| j�s>t||dƒ�rŠ|	 �rŠtjd| ƒ | j|ƒ dd l}|jj |dd|g d|g | ƒ ntjd| ƒ tjj	|ƒ�s´t"d|f ƒ‚tjj| j|ƒ}tjj|dƒ}tjj|dƒ}tjd| ƒ |j|ƒ ||j#k�rtjd| ƒ |j#j|ƒ |	�s dd l}tjj|jj$ƒ}tjj|ddƒ}tjj|ddƒ}t%||ƒ�stt%||ƒ�rØ| jtjj|ƒƒ | j&||ƒ | j&||ƒ n8tjj	|ƒ�s¼td|f ƒ‚tjj	|ƒ�sØtd|f ƒ‚xFd"D ]>}tjj||| ƒ}tjj	|ƒ�rÞtjd| ƒ |j|ƒ �qÞW || S )#Nru   r   r   z.pyfz;mismatch of extension names: %s provides %r but expected %rzmodule.cz.  source %s does not exist: skipping f2py'ing.zd  target %s does not exist:
   Assuming %smodule.c was generated with "build_src --inplace" command.z
%r missingz&   Yes! Using %r as up-to-date target.Úf2py_optionszf2py options: %szConly one .pyf file is allowed per extension module but got more: %rr   zf2py: %sz--build-dirz+  skipping '%s' f2py interface (up-to-date)z	f2py:> %sz--lowerz-mz3  skipping f2py fortran files for '%s' (up-to-date)z!f2py target file %r not generatedzfortranobject.czfortranobject.hz  adding '%s' to sources.z  adding '%s' to include_dirs.rN   zf2py target_c file %r not foundzf2py target_h file %r not foundú-f2pywrappers.fú-f2pywrappers2.f90r©   r©   )rÈ   rÉ   )'rª   r`   r[   r\   r�   r9   rŒ   r   r'   ÚisfileÚget_f2py_modulenamer
   r]   r   Údebugr^   rc   r}   r   r³   rÇ   rD   rS   rV   rƒ   r£   r    r½   r6   r   Z
numpy.f2pyZf2pyÚrun_mainr   r	   r¾   Ú__file__r   Ú	copy_file)rJ   r¢   r·   r¸   r­   Z	f_sourcesZf2py_targetsÚtarget_dirsrÆ   Z	skip_f2pyr   r¼   rs   rÃ   rª   rÄ   r   rÇ   r§   r½   Znumpyrˆ   Ztarget_cZtarget_hZsource_cZsource_hZname_extÚfilenamer$   r$   r%   r­   Ô  sà    













zbuild_src.f2py_sourcesc             C   sž  g }g }i }g }g }d}d|j kr8d}	d}
|j jdƒ n| jrHd}	d}
nd }	d}
d}|jjdƒd }�x|D �]}tjj|ƒ\}}|d	k�rv| jr¦tjj	|ƒ}| j
}nt| jtjj	|ƒƒ}|}tjj|ƒ�rªt|ƒ}||dd … k�r td
|||dd … f ƒ‚|	d k�rt|ƒ}	|	dk}
nlt|ƒ}|d k�rBtjd||	f ƒ nF|	|k�rˆtjd|	||f ƒ |dk�rztjdƒ d}
ntjd| ƒ |
�r’d}tjj|d||f ƒ}nˆtjd| ƒ |dd … }d}t||ƒ}tjj|ƒ�s2tjd||f ƒ tjj	|ƒ}t||ƒ}tjj|ƒ�s$td|f ƒ‚tjd| ƒ |j|ƒ |j|ƒ |jtjj||d ƒƒ |j|ƒ |d  ||< ql|j|ƒ qlW |�sŽ|S |�rœ|| S x|D ]}| j|ƒ �q¢W | j�pÄ| jƒ }|dg|j  }|
�rä|jdƒ x|jD ]}|jd| ƒ �qìW x�|D ]ˆ}|| }|g|j }| j�s8t||dƒ�r‚tjdtjj|ƒ|
�rTd�pVd |f ƒ | j|| j  d|d||g ƒ ntj d| ƒ �q
W || S )!Nz.cz-c++zc++TFr   ru   r   z.iz;mismatch of extension names: %s provides %r but expected %rz>source %r does not define swig target, assuming %s swig targetz0expected %r but source %r defines %r swig targetzAresetting swig target to c++ (some targets may have .c extension)z$assuming that %r has c++ swig targetz.cppz	%s_wrap%sz.  source %s does not exist: skipping swig'ing.zi  target %s does not exist:
   Assuming %s_wrap.{c,cpp} was generated with "build_src --inplace" command.z
%r missingz&   Yes! Using %r as up-to-date target.z.pyz-pythonz-Ir   z%s: %sz++Ú z-oz-outdirz+  skipping '%s' swig interface (up-to-date)r©   r©   )!rF   ÚremoverG   rª   r`   r[   r\   r�   r9   rŒ   r«   r   r'   rÊ   Úget_swig_modulenamer
   Úget_swig_targetr   r^   r]   Ú_find_swig_targetr}   r³   rH   Z	find_swigr¾   r½   r6   r   rc   rŽ   ÚspawnrÌ   )rJ   r¢   r·   r¸   r¬   Zswig_targetsrÐ   r±   Z
target_extÚtypZis_cppZ	skip_swigrÆ   r   r¼   rs   rÃ   Zpy_target_dirrª   Ztyp2rÄ   r   rH   Zswig_cmdr   r½   r$   r$   r%   r¬   ^  s¸    
















zbuild_src.swig_sources)r(   r   r)   )r*   Nr+   )r,   Nr-   )r.   Nr/   )r0   Nr1   )r2   Nr3   )r4   Nr5   )r6   r7   r8   úiignore build-lib and put compiled extensions into the source directory alongside your pure Python modules)r9   r:   rÙ   úJchange logging level from WARN to INFO which will show all compiler output)r;   NrÚ   )Ú__name__Ú
__module__Ú__qualname__ÚdescriptionÚuser_optionsÚboolean_optionsÚhelp_optionsrK   ri   rk   rj   rq   r—   rr   rn   ro   rp   r¤   r¯   r¦   rº   r¥   r®   rÅ   r­   r¬   r$   r$   r$   r%   r'   (   sJ       
:$(.$ r'   z".*[.](f90|f95|f77|for|ftn|f|pyf)\Zz.*[.](inc|h|hpp)\ZzQ\s*%module\s*(.*\(\s*package\s*=\s*"(?P<package>[\w_]+)".*\)|)\s*(?P<name>[\w_]+)z-[*]-\s*c\s*-[*]-z-[*]-\s*c[+][+]\s*-[*]-c          	   C   s>   t | dƒ�*}d }|jƒ }t|ƒr$d}t|ƒr0d}W d Q R X |S )Nr   zc++rf   )r   ÚreadlineÚ_has_cpp_headerÚ_has_c_header)r   r7   ÚresultÚliner$   r$   r%   rÕ   Ù  s    rÕ   c          
   C   sD   t | dƒ�0}d }x$|D ]}t|ƒ}|r|jdƒ}P qW W d Q R X |S )Nr   rª   )r   Ú_swig_module_name_matchr   )r   r7   rª   ræ   r#   r$   r$   r%   rÔ   ã  s    

rÔ   c             C   s6   x0dD ](}t jj| d||f ƒ}t jj|ƒrP qW |S )Nú.cppú.cz	%s_wrap%s)rè   ré   )r[   r\   r]   rÊ   )rÃ   rª   rs   r   r$   r$   r%   rÖ   í  s
    
rÖ   z%\s*python\s*module\s*(?P<name>[\w_]+)z4\s*python\s*module\s*(?P<name>[\w_]*?__user__[\w_]*)c          
   C   sL   d }t | ƒ�6}x.|D ]&}t|ƒ}|rt|ƒr.q|jdƒ}P qW W d Q R X |S )Nrª   )r   Ú_f2py_module_name_matchÚ_f2py_user_module_name_matchr   )r   rª   r7   ræ   r#   r$   r$   r%   rË   û  s    


rË   )2Ú__doc__Ú
__future__r   r   r   r[   r   rY   r_   r›   Údistutils.commandr   Údistutils.dep_utilr   r   Údistutils.utilr   Zdistutils.errorsr	   r
   Znumpy.distutilsr   rz   r   r   r   r   r   Znumpy.distutils.from_templater   rÀ   Znumpy.distutils.conv_templaterÁ   r&   r'   r   ÚIÚmatchr¿   rÂ   rç   r   rä   rã   rÕ   rÔ   rÖ   rê   rë   rË   r$   r$   r$   r%   Ú<module>   sF        -


	

