Ñò
ÅØÊKc           @   su   d  d k  Z  d  d k l Z d Z d Z d d d „ Z e d j o- d  d k l Z e e d	 d ƒ i	 ƒ    n d S(
   iÿÿÿÿN(   t   globi    sÎ   
python module clapack
  usercode void empty_module(void) {}
  interface
    subroutine empty_module()
      intent(c) empty_module
    end subroutine empty_module
  end interface
end python module clapack
t    c            sf  d d k  l } d d k l } | d |  | ƒ } | d d d ƒ} g  } | i d g  ƒ D]+ \ } } | d	 j o | | d
 d !q[ q[ ~ d  g d ‰ ˆ o d Gˆ GHn d ‰  h g  d 6g  d 6}	 t oM d ‰  |	 d i d i ƒ  ƒ |	 d i |	 d ƒ |	 d i d i ƒ  ƒ n ˆ d j o0 t	 i
 i ˆ  d ƒ ‰  |	 d i d i ƒ  ƒ n6 ˆ d j o( ˆ d j o |	 d i d i ƒ  ƒ n | i d d d g d t d g d d g |	 d d  g d! | ƒ‡  ‡ f d" †  }
 | i d d |
 g d d# g d d g |	 d d  g d! | ƒ| i d$ d d% g d! | ƒ| i d& d d' g d! | ƒ| i d( ƒ | S()   Niÿÿÿÿ(   t   Configuration(   t   get_infot   lapackt
   lapack_optt   notfound_actioni   t   define_macrost
   ATLAS_INFOi   iýÿÿÿi    s   ATLAS versionR   t   clapackt   flapackt   dbls‡   sgesv cgesv sgetrf cgetrf sgetrs cgetrs sgetri cgetri sposv cposv spotrf cpotrf spotrs cpotrs spotri cpotri slauum clauum strtri ctrtriss   sgesdd cgesdd sgelss cgelss sgeqrf cgeqrf sgeev cgeev sgegv cgegv ssyev cheev slaswp claswp sgees cgees sggev cggevs   3.2.1_pre3.3.6t   atlas321so   sgetri dgetri cgetri zgetri spotri dpotri cpotri zpotri slauum dlauum clauum zlauum strtri dtrtri ctrtri ztrtris   3.4.0s   3.5.12s   cpotrf zpotrft   sourcess   flapack.pyf.srct   dependss   flapack_*.pyf.srct   f2py_optionss   skip:t   :t
   extra_infoc            sÒ   |  i  i d ƒ d } | d j p t | ‚ ˆ d  j of t i i | ˆ  d ƒ } d d k l } | t	 | ƒ o* t
 | d ƒ } | i t ƒ | i ƒ  qÎ n. |  i d } t i i | ƒ d j p t ‚ | S(	   Nt   .iÿÿÿÿR	   s   clapack.pyf(   t   newert   wi    s   clapack.pyf.src(   t   namet   splitt   AssertionErrort   Nonet   ost   patht   joint   distutils.dep_utilR   t   __file__t   opent   writet   tmpl_empty_clapack_pyft   closeR   t   basename(   t   extt	   build_dirR   t   targetR   t   f(   t
   target_dirt   atlas_version(    s   scipy\lib\lapack\setup.pyt   get_clapack_sourceF   s     s   clapack.pyf.srct
   calc_lworks   calc_lwork.fR(   s   atlas_version.ct   tests(   t   numpy.distutils.misc_utilR   t   numpy.distutils.system_infoR   t   getR   t   skip_single_routinest   extendR   R   R   R   t   add_extensionR   t   add_data_dir(   t   parent_packaget   top_pathR   R   t   configR   t   _[1]t   kt   vt
   skip_namesR)   (    (   R'   R(   s   scipy\lib\lapack\setup.pyt   configuration   sT    #3


					t   __main__(   t   setupR4   (
   R   R    R/   R    R   R:   t   __name__t   numpy.distutils.coreR<   t   todict(    (    (    s   scipy\lib\lapack\setup.pyt   <module>   s   R