3
h                 @   sN   d dl mZmZ d dlZd	ddZedkrJd dlmZ ef eddj  dS )
    )joindirnameN c             C   s  ddl m}m} ddl m} ddlm} ddlm}m} ddlm	} ddl
m}	 |d| |}
|
jd |
jd	 ttjtttd
dd}|	 g}|d |	ddkr|j|	dd |j|  |jttttd |jttttdd | r|d}n|d}|||d}|
jd8dddg| i| dddddddg}dd  |D }d!d"d#d$d%d&d'g}d(d  |D }d)g| | }|
jd*d)g| ||td*dg d+}||_|
jd,tdd-gtdd.g| g|d/d0 |
jd1d2gd3 |
jd4d5gd3 |
jd6 |
jd7 |
S )9Nr   )Configurationget_numpy_include_dirs)get_info)combine_dictuses_blas64)set_cxx_flags_hook)get_python_incZspatialtestsZ	transform	qhull_srcsrcz*.c   )plat_specificZ_libZ_build_utilsZlapack_ilp64_opt
lapack_opt)include_dirsqhullsourceszqhull.czqhull_misc.cz	query.cxxz	build.cxxzquery_pairs.cxxzcount_neighbors.cxxzquery_ball_point.cxxzquery_ball_tree.cxxzsparse_distances.cxxc             S   s   g | ]}t d d|qS )ckdtreer   )r   ).0x r   4/tmp/pip-build-riy7u7_k/scipy/scipy/spatial/setup.py
<listcomp>2   s    z!configuration.<locals>.<listcomp>zckdtree_decl.hzcoo_entries.hzdistance_base.hz
distance.hzordered_pair.hzpartial_sort.hzrectangle.hc             S   s   g | ]}t d d|qS )r   r   )r   )r   r   r   r   r   r   <   s    zckdtree.cxxr   )r   dependsr   Z_distance_wrapzdistance_wrap.czdistance_impl.hZnpymath)r   r   r   Z
extra_infoZ_voronoiz
_voronoi.c)r   Z
_hausdorffz_hausdorff.czqhull_src/COPYING.txtz*.pyi)r   )Znumpy.distutils.misc_utilr   r   r   Zscipy._build_utils.system_infoZscipy._build_utilsr   r	   Z"scipy._build_utils.compiler_helperr
   distutils.sysconfigr   Zadd_data_dirZadd_subpackagesortedglobr   r   __file__appendadd_extensionZ_pre_build_hookZadd_data_files)parent_packagetop_pathr   r   Zget_misc_infor   r   r	   r
   r   configr   Zinc_dirsr   cfgZckdtree_srcZckdtree_headersZckdtree_depextr   r   r   configuration   st    








r'   __main__)setup)r#   )r   N)	os.pathr   r   r   r'   __name__Znumpy.distutils.corer)   Ztodictr   r   r   r   <module>   s
   
V