3
hY                 @   sV   d dl Z d dlmZ d dlmZ d
ddZedkrRd dlmZ ef edd	j	  dS )    N)join)numpy_nodepr_api c             C   sv  ddl m} ddlm} ddlm}m}m}m} |d| |}| r\|dd}	||	}
| }n|d}	d }
d }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d	gd-}|jd@d/gd0g| | d1| ||	td(d	gd2}|jdAd4g|| d1| ||	d)gd2}|jdBd5g||d6|}|
|_||	d(d	gd2}|jdCd7g|| |d6|}|
|_|jd8d9gd g||d:}|
|_|jd;|d< ||	d(d	gd2}|jdD||| |d6|}|
|_|jd> |jd! |S )ENr   )Configuration)get_info)uses_blas64blas_ilp64_pre_build_hookcombine_dictget_f2py_int64_optionsZ	integrateZlapack_ilp64_opt   
lapack_optZmachz*.fZquadpackc             S   s   g | ]}t d |qS )odepack)r   ).0fn r   6/tmp/pip-build-riy7u7_k/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_pre_build_hook)r$   r%   lsodavodez..Z_libsrc)include_dirs	libraries	_quadpackz_quadpackmodule.cz__quadpack.h)r$   depends)r*   _odepackz_odepackmodule.czvode.pyf)r$   r,   f2py_optionsz	lsoda.pyfZ_dopzdop.pyf)r$   r*   r,   r.   Z_test_multivariate)r$   _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   scipy._build_utilsr   r   r	   r
   r   Zadd_library__file__ospathdirnameadd_extensionr   r%   Zadd_subpackageZadd_data_dir)parent_packagetop_pathr   r   r   r   r	   r
   configr   Zpre_build_hookr.   Zmach_srcZquadpack_srcZ	lsoda_srcZvode_srcZdop_srcZquadpack_test_srcZodeint_banded_test_srcr)   cfgextr   r   r   configuration   s    
    



r;   __main__)setup)r7   )r   N)
r2   os.pathr   r0   r   r;   __name__Znumpy.distutils.corer=   Ztodictr   r   r   r   <module>   s   
h