o
    tBh                     @   s   d dl Z d dlZd dlmZmZ d dlmZ d dlZd dlZd dl	m
Z
mZ d dlmZmZ dddZed	krKd d
lmZ edi edd  dS dS )    N)joindirname)get_python_inc)get_numpy_include_dirsget_info)set_c_flags_hookset_cxx_flags_hook c           !   
   C   s  ddl m} ddlm} ddlm}m} |d| |}| r"|d}n|d}g }tjdkr2|	d	 t
jt
jt}	t }
td
d}t |
g}|
|krR|	| |	ttttd |	ttttdd tddg}tddg}|jd||	g| |dg |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!gd"g|g dgd# dtddg}g d$}|| | | | | | }|||	g| t g g d%|d&}|jdI||td(d)|}t|_g d*}|| | d+td,d+g }|jd-|||	g| |td(d.}t|_|||d/}|jdJd1d2d3gi| |d4 g d5}|| | | | | | | }|||	g| t g g d%|d&}|jdK||td(d)|}t|_|jd7d8gd |jd9d:gd;d<gt g| td(d= |d> |d? t
jt
jtd@dA}t
jt
jtdBdC}dDD ]} ttj|dEt
j|| g q|dF |dG |dH |S )LNr   )Configuration)r   )combine_dictuses_blas64speciallapack_ilp64_opt
lapack_optwin32)_USE_MATH_DEFINESN   )plat_specific_lib_build_utilssrccephesz*.cz*.h	sc_cephes)sourcesinclude_dirsdependsmacrosmachz*.famoscdflibspecfunsc_machnoopt)r   	config_fcsc_amos)r   sc_cdf
sc_specfun_specfunzspecfun.pyfz--no-wrap-functions)r   f2py_optionsr   define_macros	libraries)z	_ufuncs.c
sf_error.camos_wrappers.ccdf_wrappers.cspecfun_wrappers.c	_cosine.c)r$   r   r!   r%   r&   )r   r*   r)   _ufuncsnpymath)r   r   
extra_info)z_ufuncs_cxx.cxxzsf_error.cczellint_carlson_wrap.cxxz_faddeeva.cxxzFaddeeva.ccz_wright.cxxz	wright.ccz*.hhellint_carlson_cpp_lite_ufuncs_cxx)r   r   r   r)   r2   )r   _ellip_harm_2r   z_ellip_harm_2.cr+   zcython_special.pxd)zcython_special.cr+   r,   r-   r.   r/   cython_special_combz_comb.c_test_roundz_test_round.cz_round.hzcephes/dd_idefs.h)r   r   r   r2   z
tests/*.pyztests/data/READMEutilsz
makenpz.pytestsdata)boostgsllocalz--use-timestampztests/data/*.npz_precomputez*.pyi)r0   )r5   )r6   )numpy.distutils.misc_utilr
   scipy._build_utils.system_infor   scipy._build_utilsr   r   sysplatformappendospathabspathr   __file__r   r   r   add_libraryadd_extensionnumpyget_includer   _pre_build_hookr   add_data_files
subprocess
check_call
executableadd_subpackage)!parent_packagetop_pathr
   get_system_infor   r   configr   r)   curdirpython_inc_dirsplat_specific_python_inc_dirsinc_dirs
cephes_src
cephes_hdrmach_srcamos_srccdf_srcspecfun_srcheaders
ufuncs_src
ufuncs_depcfgr0   ufuncs_cxx_srcufuncs_cxx_depufuncs_cxx_extcython_special_srccython_special_depr6   makenpzdata_dirname rn   j/var/www/html/riverr-enterprise-integrations-main/venv/lib/python3.10/site-packages/scipy/special/setup.pyconfiguration   s$  






	









rp   __main__)setup)rU   )r	   Nrn   )rF   rC   os.pathr   r   distutils.sysconfigr   rP   rL   r@   r   r   "scipy._build_utils.compiler_helperr   r   rp   __name__numpy.distutils.corerr   todictrn   rn   rn   ro   <module>   s    
 $