a
    ˜¥»añ	  ã                   @   sN   d dl Z d dlmZ d	dd„ZedkrJd dlmZ ef i edd� ¡ ¤Ž dS )
é    N)ÚjoinÚ c                 C   s$  ddl m} ddlm}m}m} |ƒ r8|}|ƒ }dg}nd }d }g }|d| |ƒ}	tddƒg}
|	jd|
|d� |	jd	d
gd� |	jddgd� |	jddgdgd� |	jddgdg|dg|
 d� |	jddgdg||
|d� t	t
j dd¡ƒ�rddlm} |ddgdgd�}|	j |¡ |	 d¡ |	S ) Nr   )ÚConfiguration)Úget_f2py_int64_optionsÚilp64_pre_build_hookÚuses_blas64)Z
HAVE_ILP64NZinterpolateZfitpackz*.f)ÚsourcesZ_pre_build_hookZinterpndz
interpnd.c)r   Z_ppolyz_ppoly.cZ_bsplz_bspl.czsrc/__fitpack.h)r   ÚdependsZ_fitpackzsrc/_fitpackmodule.c)r   Ú	librariesÚdefine_macrosr	   Zdfitpackzsrc/fitpack.pyf)r   r
   r   r	   Úf2py_optionsZSCIPY_USE_PYTHRANé   )ÚPythranExtensionz$scipy.interpolate._rbfinterp_pythranz'scipy/interpolate/_rbfinterp_pythran.pyzcompiler.blas=none)r   ÚconfigÚtests)Znumpy.distutils.misc_utilr   Zscipy._build_utilsr   r   r   r   Zadd_libraryÚadd_extensionÚintÚosÚenvironÚgetZpythran.distr   Úext_modulesÚappendZadd_data_dir)Úparent_packageÚtop_pathr   r   r   r   Zpre_build_hookr   r   r   Zfitpack_srcr   Úext© r   úQ/home/yuhw/wc/pochoir/venv/lib/python3.9/site-packages/scipy/interpolate/setup.pyÚconfiguration   sb    ÿÿÿþÿüûý
r   Ú__main__)Úsetup)r   )r   N)r   Úos.pathr   r   Ú__name__Znumpy.distutils.corer   Ztodictr   r   r   r   Ú<module>   s
   
B