mò
|Dc           @   s±   d  k  l Z d k Z d k Z d k Z d k l Z l Z d k l Z d k	 l
 Z
 d Z d Z d Z d d d „ Z e d	 j o* d
 k l Z e e d d ƒ i ƒ    n d S(   (   s   nested_scopesN(   s   newer_groups   newer(   s   glob(   s   joini    sÊ   
python module cblas
  usercode void empty_module(void) {}
  interface
    subroutine empty_module()
      intent(c) empty_module
    end subroutine empty_module
  end interface
end python module cblas
t    c            sî  d k  l } d k l } | d |  | ƒ } | d d d ƒ} g  } | i	 d g  ƒ D]+ \ } }	 | d j o | |	 d	 d
 !qU qU ~ d  g d ‰ ˆ o d Gˆ GHn d ‰  h  d g  <d g  <} t oM d ‰  | d i d i ƒ  ƒ | d i | d ƒ | d i d i ƒ  ƒ n t o* t ˆ  d ƒ ‰  | d i d i ƒ  ƒ n | i d d d d g d t d g d d g | d d g d | ƒ‡  ‡ d †  }
 | i d d |
 g d d d g d d g | d d g d | ƒ| i d  ƒ | S(!   N(   s   Configuration(   s   get_infot   blast   blas_optt   notfound_actioni   t   define_macrost
   ATLAS_INFOi   iýÿÿÿi    s   ATLAS versionR    t   cblast   fblast   dbls   saxpy caxpys·   srotg crotg srotmg srot csrot srotm sswap cswap sscal cscal csscal scopy ccopy sdot cdotu cdotc snrm2 scnrm2 sasum scasum isamax icamax sgemv cgemv chemv ssymv strmv ctrmv sgemm cgemms   drotmg srotmg drotm srotmt   sourcess   fblas.pyf.srcs   fblaswrap.f.srct   dependss   fblas_l?.pyf.srct   f2py_optionss   skip:t   :t
   extra_infoc            sÉ   |  i i d ƒ d } | d j p t | ‚ ˆ d  j o] t | ˆ  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	   cblas.pyf(   s   newert   wi    s   cblas.pyf.src(   t   extt   namet   splitt   AssertionErrort   atlas_versiont   Nonet   joint	   build_dirt
   target_dirt   targett   distutils.dep_utilt   newert   __file__t   opent   ft   writet   tmpl_empty_cblas_pyft   closeR
   t   ost   patht   basename(   R   R   R   R   R   R   (   R   R   (    t   Lib/lib/blas/setup.pyt   get_cblas_sourceJ   s     s   cblas.pyf.srcs   cblas_l?.pyf.srct   tests(   t   numpy.distutils.misc_utilt   Configurationt   numpy.distutils.system_infot   get_infot   parent_packaget   top_patht   configR   t   _[1]t   gett   kt   vR   R   R   t
   skip_namest   skip_single_routinest   extendR   t   using_lapack_blasR   t   add_extensionR   R&   t   add_data_dir(   R,   R-   R   R   R1   R/   R   R3   R+   R2   R&   R)   R.   (    (   R   R   R%   t   configuration#   s<    V	
		
t   __main__(   s   setupR-   (   t
   __future__t   nested_scopesR"   t   syst   reR   t   newer_groupR   t   globt   os.pathR   R4   R6   R    R   R9   t   __name__t   numpy.distutils.coret   setupt   todict(   R    R   R<   R4   R?   R@   R=   R>   R9   R   R6   R"   RD   (    (    R%   t   ?   s   			A