ó
Ê½÷Xc           @` s‹   d  d l  m Z m Z m Z d  d l Z d  d l Z d  d l Z d d d „ Z e	 d k r‡ d  d l
 m Z e e d d ƒ j ƒ    n  d S(   i    (   t   divisiont   print_functiont   absolute_importNt    c         C` sX  d d l  m } | d |  | ƒ } | j d ƒ | j d ƒ | j d ƒ | j d d d	 g ƒd
 „  } d d d d d d d d d d d d d d d d d g } g  | D] } t j j d | ƒ ^ q¨ f } | j d d d( g d! | d" d g d t j j d d# ƒ t j j d d$ ƒ t j j d d% ƒ t j j d d& ƒ t j j d d' ƒ | g ƒ| S()   Ni    (   t   Configurationt   sparset   testst   linalgt   csgrapht   _csparsetoolst   sourcess   _csparsetools.cc         S` s8   t  j t j t j j t j j t ƒ d ƒ d g ƒ g  S(   Ns   generate_sparsetools.pys
   --no-force(	   t
   subprocesst
   check_callt   syst
   executablet   ost   patht   joint   dirnamet   __file__(   t   extt	   build_dir(    (    s1   /tmp/pip-build-7oUkmx/scipy/scipy/sparse/setup.pyt   get_sparsetools_sources   s
    
s   sparsetools_impl.hs
   bsr_impl.hs
   csc_impl.hs
   csr_impl.hs   other_impl.hs
   bool_ops.hs   bsr.hs   complex_ops.hs   coo.hs   csc.hs	   csgraph.hs   csr.hs   dense.hs   dia.hs   py3k.hs   sparsetools.hs   util.ht   sparsetoolst   _sparsetoolst   define_macrost   __STDC_FORMAT_MACROSi   t   dependst   include_dirss   sparsetools.cxxs   csr.cxxs   csc.cxxs   bsr.cxxs	   other.cxx(   R   i   (   t   numpy.distutils.misc_utilR   t   add_data_dirt   add_subpackaget   add_extensionR   R   R   (   t   parent_packaget   top_pathR   t   configR   R   t   hdr(    (    s1   /tmp/pip-build-7oUkmx/scipy/scipy/sparse/setup.pyt   configuration	   sJ    
		+		
t   __main__(   t   setupR"   (   t
   __future__R    R   R   R   R   R   t   NoneR%   t   __name__t   numpy.distutils.coreR'   t   todict(    (    (    s1   /tmp/pip-build-7oUkmx/scipy/scipy/sparse/setup.pyt   <module>   s   5