3

6^                 @   sj   d dl mZmZmZ d dlZd dlmZ d dlmZ dddZ	e
dkrfd d	lmZ ef e	dd
j  dS )    )divisionprint_functionabsolute_importN)join)numpy_nodepr_api c             C   s4  ddl m} ddlm} |d| |}t|ddd}|jdg }td	d
g}tdd
g}dd d<D }	tddtddg}
td d
g}td!d"g}td!d#g}|jd	|d$td%fid& |jd|d' |jd(|	d' |jd)|
d' |jd |d' tt	j
jtd*d+d,g}d-|kr(t|}|j|jd- |jd=d/gdd	g| d0g| | |d1| |j }|jt |jd>d3gd(d	g| |	| d4| |jd?d5gd)g| |
d4| |jd@d6gd(d	g| |	| d4| |jd7d8gd g|d4 |jd9|d' |jdA|d(d	g| |	| d4| |jd; |jd! |S )BNr   )Configuration)get_infoZ	integrate
lapack_opt   )Znotfound_action	librariesZmachz*.fZquadpackc             S   s   g | ]}t d |qS )odepack)r   ).0fn r   6/tmp/pip-build-vw4w4j08/scipy/scipy/integrate/setup.py
<listcomp>   s    z!configuration.<locals>.<listcomp>blkdta000.fbnorm.fcfode.fewset.ffnorm.fintdy.flsoda.fprja.fsolsy.fsrcma.fstoda.fvmnorm.fxerrwv.fxsetf.fxsetun.fr   zvode.fzzvode.fZdoptestsz_test_multivariate.czbanded5x5.fZnoopt   )sourcesZ	config_fc)r$   lsodavodez..Z_libsrcinclude_dirs	_quadpackz_quadpackmodule.cz__quadpack.h)r$   r   dependsr(   _odepackz_odepackmodule.c)r$   r   r*   zvode.pyfz	lsoda.pyfZ_dopzdop.pyfZ_test_multivariate_test_odeint_bandedZ_ivp)r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   )r)   )r+   )r&   )r%   )r,   )Znumpy.distutils.misc_utilr   Zscipy._build_utils.system_infor	   dictpopr   Zadd_library__file__ospathdirnameextendadd_extensioncopyupdater   Zadd_subpackageZadd_data_dir)parent_packagetop_pathr   r	   configr
   Zlapack_libsZmach_srcZquadpack_srcZ	lsoda_srcZvode_srcZdop_srcZquadpack_test_srcZodeint_banded_test_srcr(   Zodepack_optsr   r   r   configuration	   s        










r:   __main__)setup)r8   )r   N)
__future__r   r   r   r0   os.pathr   Zscipy._build_utilsr   r:   __name__Znumpy.distutils.corer<   Ztodictr   r   r   r   <module>   s   
[