³ò
$ùoGc        2   @   sƒ  d  Z  d d k Z d d k Z h  d g d <d d g d <d d g d <d d g d	 <d
 d d d d d g d <d d g d <d d g d <d d g d <e i d ƒ p d g d <d d g d <d d g d <d g d <Z d d k Z d d k Z d d k Z e i d j o d d k Z n d d k	 l
 Z
 d d k l Z d d k l Z d d k Z d d k Z e i \ Z Z Z Z Z e d j  p e d j o e d j  o d Z d Z n e Z e Z e a e a e a e a e a e a e a e a  e a! e a" e a# e a! e a$ d a& d Z' g  Z( h  e d <e d  <d! d" <d! d# <d! d$ <d! d% <e d& <d! d' <d! d( <d! d) <d! d* <e d+ <e d, <d d- <d d. <Z) e i* i+ d/ ƒ oe i, ƒ  Z- e- i. d/ ƒ y e- i/ d0 d1 ƒ e) d <Wn n Xy e- i/ d0 d  ƒ e) d  <Wn n Xy e- i/ d2 d3 ƒ e) d" <Wn d! e) d" <n Xy e- i/ d2 d4 ƒ e) d# <Wn d! e) d# <n Xy e- i/ d2 d5 ƒ e) d$ <Wn d! e) d$ <n Xy e- i/ d2 d6 ƒ e) d% <Wn d! e) d% <n Xy e- i/ d7 d8 ƒ e) d' <Wn d! e) d' <n Xy e- i/ d7 d9 ƒ e) d( <Wn d! e) d( <n Xy e- i/ d7 d: ƒ e) d) <Wn d! e) d) <n Xy e- i/ d7 d; ƒ e) d* <Wn d! e) d* <n Xy e- i0 d< d- ƒ e) d- <Wn n Xy e- i0 d< d. ƒ e) d. <WqñqñXn e) d o+ d= d> „ Z1 d? „  Z2 d@ „  Z3 dA „  Z4 n dB „  Z1 e1 Z2 Z3 Z4 dC d dD „  ƒ  YZ5 dE „  Z6 dF „  Z7 e7 ƒ  Z8 e i d j o e8 dG j o
 g  Z9 n dH dI g Z9 dJ „  Z: d e: _; dK dL dM „ Z< dN „  Z= dO „  Z> dP „  Z? dQ „  Z@ dR „  ZA dS „  ZB dT „  ZC dU „  ZD dV „  ZE dW „  ZF dX „  ZG dY „  ZH e dZ „ ZI e d[ „ ZJ d\ „  ZK d] „  ZL d^ „  ZM d_ „  ZN d` „  ZO da „  ZP db „  ZQ dc „  ZR dd „  ZS de „  ZT df „  ZU dg „  ZV dh „  ZW di „  ZX dj „  ZY dk „  ZZ dl „  Z[ dm „  Z\ dn „  Z] do „  Z^ dp „  Z_ dq „  Z` dr „  Za ds „  Zb dt „  Zc du „  Zd dv „  Ze dw „  Zf dx „  Zg dy „  Zh dz „  Zi d{ „  Zj d| „  Zk d} „  Zl d~ „  Zm d S(€   sr  
Some helper functions for building the C extensions

you may need to edit basedir to point to the default location of your
required libs, eg, png, z, freetype

DARWIN

  I have installed all of the backends on OSX.

  Tk: If you want to install TkAgg, I recommend the "batteries included"
  binary build of Tcl/Tk at
  http://www.apple.com/downloads/macosx/unix_open_source/tcltkaqua.html

  GTK: I installed GTK from src as described at
  http://www.macgimp.org/index.php?topic=gtk.  There are several
  packages, but all configure/make/make install w/o problem.  In
  addition to the packages listed there, You will also need libpng,
  libjpeg, and libtiff if you want output to these formats from GTK.

WIN32 - MINGW

  If you are sufficiently masochistic that you want to build this
  yourself, download the win32_static dir from
  http://matplotlib.sourceforge.net/win32_static.tar.gz and
  see the README file in that dir

  > python setup.py build --compiler=mingw32 bdist_wininst  > build23.out

  NOTE, if you are building on python24 on win32, see
  http://mail.python.org/pipermail/python-list/2004-December/254826.html

WIN32 - VISUAL STUDIO 7.1 (2003)

  This build is similar to the mingw.  Download the visual studio static
  dependencies from
  http://matplotlib.sourceforge.net/win32_static_vs.tar.gz and
  see the README in that dir

  > python setup.py build bdist_wininst

iÿÿÿÿNt   win32_statict   win32s
   /usr/locals   /usrt   linux2t   linuxt   cygwins   /sw/lib/freetype2s   /sw/lib/freetype219s   /sws
   /usr/X11R6t   darwint   freebsd4t   freebsd5t   freebsd6t
   MPLIB_BASEt   sunos5t   gnukfreebsd5t   gnukfreebsd6t   aix5(   t   Set(   t   fill(   t	   Extensioni   i   i   i    t   agg23t   display_statust   verboset   autot   provide_pytzt   provide_dateutilt   provide_configobjt   provide_traitst	   build_aggt	   build_gtkt   build_gtkaggt   build_tkaggt   build_wxaggt   build_imaget   build_windowingt   backendt   numerixs	   setup.cfgt   statust   suppresst   provide_packagest   pytzt   dateutilt	   configobjs   enthought.traitst   gui_supportt   gtkt   gtkaggt   tkaggt   wxaggt
   rc_optionst   =c         C   s   |  d GHd  S(   NiL   (    (   t   char(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt
   print_line¥   s    c         C   s;   d |  } d d } t  t | ƒ d d d | d | ƒGHd  S(   Ns   %22s: t    i   t   widthiL   t   initial_indentt   subsequent_indent(   R   t   str(   t   packageR"   R3   t   indent(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   print_status¨   s
    

c         C   s5   d d d } t  t |  ƒ d d d | d | ƒGHd  S(   NR1   i   s   * R2   iL   R3   R4   (   R   R5   (   t   messageR7   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   print_message¯   s    c         C   s	   |  GHd  S(   N(    (   t   section(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt	   print_rawµ   s    c          O   s   d  S(   N(    (   t   argst   kwargs(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR0   ¸   s    t   CleanUpFilec           B   s    e  Z d  Z d „  Z d „  Z RS(   sB   CleanUpFile deletes the specified filename when self is destroyed.c         C   s   | |  _  d  S(   N(   t   name(   t   selfR@   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   __init__¾   s    c         C   s   t  i |  i ƒ d  S(   N(   t   ost   removeR@   (   RA   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   __del__À   s    (   t   __name__t
   __module__t   __doc__RB   RE   (    (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR?   ¼   s   	c         C   sn   t  |  ƒ i ƒ  } t  | d ƒ i | ƒ t i |  ƒ } t i | | i | i f ƒ t | ƒ t	 ƒ  d | <d S(   s‰   temp_copy copies a named file into a named temporary file.
    The temporary will be deleted when the setupext module is destructed.
    s   w+t	   _cleanup_N(
   t   opent   readt   writeRC   t   statt   utimet   st_atimet   st_mtimeR?   t   globals(   t   _fromt   _tot   st   stats(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt	   temp_copyÃ   s
    c          C   s-   x& t  i D] }  d |  j o d Sq
 q
 Wd S(   Nt   mingw32t   msvc(   t   syst   argv(   t   v(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   get_win32_compilerÐ   s
    
 RX   s   stdc++t   mc          C   sc   t  i d  j	 o t  i Sn t i d j o t t  _ n% t i d ƒ \ }  } |  d j t  _ t  i S(   NR   s   pkg-config --helpi    (   t   has_pkgconfigt   cachet   NoneRY   t   platformt   Falset   commandst   getstatusoutput(   R"   t   output(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR^   Ý   s    s   --libs --cflagss
   pkg-configc         C   sn  t  ƒ  p t Sn h  d d <d d <d d <d d <d	 d
 <} t i d | | | f ƒ \ } } | d j oö xë | i ƒ  D]Ý } | i | d  t ƒ } | t j	 o� | d  d j oD t | d i d ƒ ƒ }	 t |	 ƒ d j o |	 d t f }	 q	n | d }	 t	 |  | ƒ }
 |	 |
 j o |
 i
 |	 ƒ q^q� | |  i j o |  i i
 | ƒ q� q� Wt Sn t S(   sv   Loosely based on an article in the Python Cookbook:
    http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/502261t   include_dirss   -It   library_dirss   -Lt	   librariess   -lt   define_macross   -Dt   undef_macross   -Us   %s %s %si    i   R.   i   (   R^   Rb   Rc   Rd   t   splitt   getR`   t   tuplet   lent   getattrt   appendt   extra_link_argst   True(   t   modulet   packagest   flagst   pkg_config_exect   _flagsR"   Re   t   tokent   attrt   valuet   set(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   get_pkgconfigé   s4    
			 
c         C   sJ   d } t  ƒ  p | Sn t i d |  ƒ \ } } | d j o | Sn | S(   Ns*   found, but unknown version (no pkg-config)s   pkg-config %s --modversioni    (   R^   Rc   Rd   (   R6   t   defaultR"   Re   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   get_pkgconfig_version  s    
c         C   s(   t  |  | ƒ p |  i i | ƒ n d  S(   N(   R|   Rh   Rp   (   Rs   R6   t   fallback(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   try_pkgconfig  s    c         C   s?   x8 |  D]0 } t  i i t  i i | | ƒ ƒ o t Sq q Wt S(   N(   RC   t   patht   existst   joinRr   Rb   (   Rf   t   filenamet   d(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   find_include_file  s
     "c          C   sÎ   t  d g  ƒ }  t |  ƒ t |  d ƒ p> |  i } x1 | D]% } |  i i t i i | d ƒ ƒ q: Wn t d t	 d ƒ ƒ t
 |  i d ƒ p= t d d i g  } |  i D] } | d | q§ ~ ƒ ƒ n t S(   Nt   testt	   freetype2s
   ft2build.hs9   WARNING: Could not find 'freetype2' headers in any of %s.s   , s   '%s'(   R   t   add_base_flagsR|   Rf   Rp   RC   R�   Rƒ   R8   R~   R†   R:   Rr   (   Rs   t   basedirsR…   t   _[1]t   x(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_freetype%  s    

 '7c          C   s�   t  d g  ƒ }  t |  d ƒ t |  ƒ t d t d ƒ ƒ t |  i d ƒ p= t d d i g  } |  i D] } | d | qf ~ ƒ ƒ n t	 S(   NR‡   t   libpngs   png.hs,   Could not find 'libpng' headers in any of %ss   , s   '%s'(
   R   R|   R‰   R8   R~   R†   Rf   R:   Rƒ   Rr   (   Rs   R‹   RŒ   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_libpng5  s    
7c         C   sõ   t  t i i g  } t t i D] } | t i i | d ƒ q ~ ƒ } t  t i i g  } t t i D] } | t i i | d ƒ qd ~ g  } t t i D] } | t i i | d ƒ q˜ ~ ƒ } |  i i	 | ƒ |  i i
 d ƒ |  i i	 | ƒ d  S(   Nt   includet   libt   lib64t   .(   t   filterRC   R�   R‚   t   basedirRY   Ra   Rƒ   Rf   t   extendRp   Rg   (   Rs   R‹   t   pt   incdirst   _[2]t   _[3]t   libdirs(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR‰   B  s    :4;c         C   s   t  i |  ƒ i ƒ  i ƒ  } | S(   s"   get the output of a system command(   RC   t   popenRK   t   strip(   RT   t   ret(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt	   getoutputM  s    c         C   sl   d |  }  g  } xL t  |  ƒ d j o8 |  d  |  d }  } | i d t t | d ƒ ƒ ƒ q Wd i | ƒ S(   Ns   %xi    iþÿÿÿi   R“   (   Rn   t   insertR5   t   intRƒ   (   t   versiont   tempt   chunk(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   convert_qt_versionS  s    
$c       	   C   sn   y d d  k  }  Wn$ t j
 o t d d ƒ t Sn5 Xt d d t |  i ƒ  i ƒ |  i ƒ  i f ƒ t Sd  S(   Niÿÿÿÿt   Qtt   nos   Qt: %s, PyQt: %s(	   t
   pyqtconfigt   ImportErrorR8   Rb   R¥   t   Configurationt
   qt_versiont   pyqt_version_strRr   (   R¨   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_qt[  s    		c       	   C   sr   y d d k  l }  Wn$ t j
 o t d d ƒ t Sn5 Xt d d t |  i ƒ  i ƒ |  i ƒ  i f ƒ t	 Sd  S(   Niÿÿÿÿ(   R¨   t   Qt4R§   s   Qt: %s, PyQt4: %s(
   t   PyQt4R¨   R©   R8   Rb   R¥   Rª   R«   R¬   Rr   (   R¨   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_qt4g  s    		c          C   sO   y d d  k  }  Wn$ t j
 o t d d ƒ t Sn Xt d |  i ƒ t Sd  S(   Niÿÿÿÿt   CairoR§   (   t   cairoR©   R8   Rb   R¢   Rr   (   R²   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_cairos  s    	c          C   sL   y d d  k  }  Wn$ t j
 o t d d ƒ t Sn Xt d d ƒ t Sd  S(   Niÿÿÿÿt   datetimeR§   s   present, version unknown(   R´   R©   R8   Rb   Rr   (   R´   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_datetime}  s    	c         C   sË   |  o& t  d t j o t d d ƒ t Sn y d d  k } WnK t j
 o? |  o  t  d o t d d ƒ t SqÇ t d d ƒ t Sn> X| i i d ƒ o t d d ƒ t Sn t d | i ƒ t Sd  S(   NR   R%   s   matplotlib will provideiÿÿÿÿR§   t   mpl(   t   optionsRr   R8   R%   R©   Rb   t   __version__t   endswith(   t   hasdatetimeR%   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_provide_pytz‡  s     	c      
   C   sö   |  o& t  d t j o t d d ƒ t Sn y d d  k } WnK t j
 o? |  o  t  d o t d d ƒ t Sqò t d d ƒ t Sni Xy@ | i i d ƒ o t d d ƒ t Sn t d | i ƒ t SWn$ t j
 o t d d ƒ t Sn Xd  S(   NR   R&   s   matplotlib will provideiÿÿÿÿR§   R¶   s   present, version unknown(	   R·   Rr   R8   R&   R©   Rb   R¸   R¹   t   AttributeError(   Rº   R&   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_provide_dateutilœ  s(    	c          C   s½   t  d t j o t d d ƒ t Sn y d d  k }  WnD t j
 o8 t  d o t d d ƒ t Sq¹ t d d ƒ t Sn> X|  i i d ƒ o t d d ƒ t Sn t d |  i ƒ t Sd  S(   NR   R'   s   matplotlib will provideiÿÿÿÿR§   R¶   (   R·   Rr   R8   R'   R©   Rb   R¸   R¹   (   R'   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_provide_configobjµ  s     	c          C   s  t  d t j o t d d ƒ t Sn y¥ d d k l }  y d d k l } Wn t d d ƒ t Snc Xy | i } Wn t j
 o | i	 } n X| i
 d ƒ o t d d ƒ t Sn t d | ƒ t SWnD t j
 o8 t  d o t d d ƒ t Sqt d d	 ƒ t Sn Xd  S(
   NR   s   enthought.traitss   matplotlib will provideiÿÿÿÿ(   t   traits(   R¢   s'   unknown and incompatible version: < 2.0R¶   R§   (   R·   Rr   R8   t	   enthoughtR¿   t   enthought.traitsR¢   Rb   R¼   R¸   R¹   R©   (   R¿   R¢   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_provide_traitsÊ  s2    c          C   so   y> t  i d ƒ \ }  } t d | i ƒ  d i ƒ  d ƒ t SWn* t t f j
 o t d d ƒ t Sn Xd  S(   Ns   dvipng -versiont   dvipngi   iÿÿÿÿR§   (	   RC   t   popen4R8   t	   readlinesRk   Rr   t
   IndexErrort
   ValueErrorRb   (   t   stdint   stdout(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_dvipngé  s    !c          C   s…   yT t  i d j o
 d }  n d }  t i |  ƒ \ } } t d | i ƒ  d  ƒ t SWn* t t f j
 o t d d ƒ t	 Sn Xd  S(   NR   s   gswin32c --versions   gs --versiont   ghostscriptiÿÿÿÿR§   (
   RY   Ra   RC   RÄ   R8   RK   Rr   RÆ   RÇ   Rb   (   t   commandRÈ   RÉ   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_ghostscriptò  s    
c          C   s�   y[ t  i d ƒ \ }  } | i ƒ  d } d } t i | | ƒ } t d | i d ƒ ƒ t SWn- t t	 t
 f j
 o t d d ƒ t Sn Xd  S(   Ns   latex -versioni    s   3\.1\d+t   latexR§   (   RC   RÄ   RÅ   t   ret   searchR8   t   groupRr   RÆ   RÇ   R¼   Rb   (   RÈ   RÉ   t   linet   patternt   match(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_latexÿ  s    c          C   s�   y\ t  i d ƒ \ }  } x@ | i ƒ  D]2 } d | j o t d | i ƒ  d ƒ t Sq% q% WWn* t t f j
 o t d d ƒ t Sn Xd  S(   Ns
   pdftops -vR¢   t   pdftopsiÿÿÿÿR§   (	   RC   RÄ   RÅ   R8   Rk   Rr   RÆ   RÇ   Rb   (   RÈ   RÉ   RÒ   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_pdftops  s     c       	   C   s®   t  }  y d d  k } Wn. t j
 o" t d d ƒ t d ƒ t  Sn Xt d g  ƒ } t | ƒ t | ƒ t d | i ƒ t	 | i
 t i i d d ƒ ƒ p t d ƒ n t S(   Niÿÿÿÿt   numpyR§   s+   You must install numpy to build matplotlib.R‡   s   arrayobject.hsW   Could not find the headers for numpy.  You may need to install the development package.(   Rb   RØ   R©   R8   R:   R   t   add_numpy_flagsR‰   R¸   R†   Rf   RC   R�   Rƒ   Rr   (   t   gotitRØ   Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_numpy  s    
	

"c         C   sV   d d k  } y |  i i | i ƒ  ƒ Wn) t j
 o |  i i | i ƒ  ƒ n Xd S(   s9   Add the modules flags to build extensions which use numpyiÿÿÿÿN(   RØ   Rf   Rp   t   get_includeR¼   t   get_numpy_include(   Rs   RØ   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyRÙ   '  s
    c         C   s^   t  |  d d ƒ |  i i d ƒ t |  ƒ |  i i d d d t d g ƒ |  i i t ƒ d S(	   s6   Add the module flags to build extensions which use aggRŽ   t   pngt   zt   srct   swigs
   %s/includeR“   N(   R€   Rh   Rp   R‰   Rf   R–   t   AGG_VERSIONt   std_libs(   Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   add_agg_flags0  s
    
 c         C   sŒ  t  |  d ƒ p-|  i i d d g ƒ t |  ƒ |  i } x¥ | D]� } |  i i t i i | d ƒ ƒ t i i | d ƒ } t i i	 | ƒ o |  i i | ƒ n t i i | d ƒ } t i i	 | ƒ o |  i i | ƒ qA qA W|  i
 } xX | D]B } t i i | d ƒ } t i i	 | ƒ o |  i
 i | ƒ qó qó Wn t |  ƒ t i d j o! t d j o |  i i d	 ƒ n |  i i t ƒ d
 S(   s)   Add the module flags to ft2font extensionRˆ   t   freetypeRß   s   lib/freetype2/includes   lib/freetype2/include/freetype2s   freetype2/libR   RW   t   gw32cN(   R|   Rh   R–   R‰   Rf   Rp   RC   R�   Rƒ   R‚   Rg   RY   Ra   t   win32_compilerRã   (   Rs   RŠ   R…   R—   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   add_ft2font_flags<  s(    

 '+
 /
c    
      C   s­  t  }  d } y d d k } Wn1 t j
 o d } nK t j
 o d } n3 Xd } | i | j  o d | | i } n t }  |  ox t d g  ƒ } t | ƒ t	 | i
 t i i d	 d
 ƒ ƒ p9 d d i g  } | i
 D] } | d | qÚ ~ ƒ } q n d „  } |  oq d d k } t | d ƒ o | | i ƒ }	 n d }	 t d d | | i ƒ | | i ƒ | | i ƒ |	 f ƒ n t d d ƒ | d j	 o t | ƒ n |  S(   s   check for the presence of pygtkiÿÿÿÿNsd   Building for Gtk+ requires pygtk; you must be able to "import gtk" in your build/install environments   pygtk present but import failedi   i    sM   Error: GTK backend requires PyGTK %d.%d.%d (or later), %d.%d.%d was detected.R‡   R)   s   gtk.hs(   Could not find Gtk+ headers in any of %ss   , s   '%s'c         S   s.   d i  g  } |  D] } | t | ƒ q ~ ƒ S(   NR“   (   Rƒ   R5   (   t   tupR‹   RŒ   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   ver2strr  s    t   pygobject_versions   [pre-pygobject]s   Gtk+s,   gtk+: %s, glib: %s, pygtk: %s, pygobject: %sR§   (   i   i   i    (   Rb   R`   R)   R©   t   RuntimeErrort   pygtk_versionRr   R   t   add_pygtk_flagsR†   Rf   RC   R�   Rƒ   t   gobjectt   hasattrRë   R8   t   gtk_versiont   glib_versionR:   (
   RÚ   t   explanationR)   R¢   Rs   R‹   RŒ   Rê   Rï   Rë   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_gtkW  s@    

":		c         C   s�  t  i d j o|  i i d d g ƒ |  i i d d d d d d	 d
 d d d d d g ƒ t |  ƒ t i i d ƒ p d t i d <n t	 d ƒ i
 ƒ  } t	 d ƒ i
 ƒ  } | | } |  i i g  } | D] } | | d qÊ ~ ƒ t	 d ƒ i
 ƒ  } t	 d ƒ i
 ƒ  } | | } |  i i g  }	 | D]% }
 |
 i d ƒ o |	 |
 d q'q'~	 ƒ |  i i g  } | D]% }
 |
 i d ƒ o | |
 d qjqj~ ƒ |  i i g  } | D]1 }
 |
 i d ƒ p |
 i d ƒ p | |
 q­q­~ ƒ t  i d j o1 t d j o$ d |  i j o |  i i d ƒ q-n t  i d j o t |  ƒ t |  d ƒ n t  i d j o1 t d j o$ d |  i j o |  i i d ƒ n d S(   s6   Add the module flags to build extensions which use gtkR   s
   C:/GTK/bins
   C:/GTK/libs   win32_static/include/pygtk-2.0s   C:/GTK/includes   C:/GTK/include/gobjects   C:/GTK/include/gmodules   C:/GTK/include/glibs   C:/GTK/include/pangos   C:/GTK/include/atks   C:/GTK/include/X11s   C:/GTK/include/cairos   C:/GTK/include/gdks   C:/GTK/include/gdk-pixbufs   C:/GTK/include/gtkt   PKG_CONFIG_PATHs   C:\GTK\lib\pkgconfigs$   pkg-config --cflags-only-I pygtk-2.0s#   pkg-config --cflags-only-I gtk+-2.0i   s   pkg-config --libs pygtk-2.0s   pkg-config --libs gtk+-2.0s   -ls   -LRX   R]   s   pygtk-2.0 gtk+-2.0N(   RY   Ra   Rg   R–   Rf   R‰   RC   t   environt   has_keyRŸ   Rk   Rh   t
   startswithRq   Rç   RD   R|   (   Rs   t   pygtkIncludest   gtkIncludest   includesR‹   R�   t   pygtkLinkert	   gtkLinkert   linkerFlagsR™   t   flagRš   t   _[4](    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyRî   †  sP    		


/
	:	:	5-
-c          C   s   t  }  d  } y d d  k } Wn t j
 o d } nž Xt | d d ƒ d d !d j o t d | i ƒ t Sne t i	 d	 j o t
 d
 j o
 d } n> t ƒ  } | d  j o
 d } n t | ƒ p
 d } n t }  |  o~ t d g  ƒ } t | | ƒ t | i t i i d d d ƒ ƒ p9 d d i g  } | i D] } | d | q3~ ƒ } qYn |  o t d | i ƒ n t d d ƒ | d  j	 o t | ƒ n |  S(   Niÿÿÿÿs   wxPython not foundR¸   s   0.0i    i   s   2.8t   wxPythonR   RW   s�   The wxAgg extension can not be built using the mingw32 compiler on Windows, since the default wxPython binary is built using MS Visual Studios…  
WXAgg's accelerator requires `wx-config'.

The `wx-config' executable could not be located in any directory of the
PATH environment variable. If you want to build WXAgg, and wx-config is
in some other location or has some other name, set the WX_CONFIG
environment variable to the full path of the executable like so:

export WX_CONFIG=/usr/lib/wxPython-2.6.1.0-gtk2-unicode/bin/wx-config
se   WXAgg's accelerator not building because a broken wxPython (installed by Apple's Mac OS X) was found.R‡   t   wxs
   wxPython.hs,   Could not find wxPython headers in any of %ss   , s   '%s'R§   (   Rb   R`   R  R©   Ro   R8   R¸   Rr   RY   Ra   Rç   t   find_wx_configt'   check_wxpython_broken_macosx104_versionR   t   add_wx_flagsR†   Rf   RC   R�   Rƒ   R:   (   RÚ   Ró   R  t   wxconfigRs   R‹   RŒ   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_wxÄ  s>     
	


:c          C   sˆ   t  i d ƒ }  |  t j	 o |  Sn t  i d ƒ p d } xG | i d ƒ D]6 } t  i i | d ƒ }  t  i i |  ƒ o |  SqJ qJ Wt S(   sÊ   If the WX_CONFIG environment variable has been set, returns it value.
    Otherwise, search for `wx-config' in the PATH directories and return the
    first match found.  Failing that, return None.
    t	   WX_CONFIGt   PATHt    t   :s	   wx-config(   RC   t   getenvR`   Rk   R�   Rƒ   R‚   (   R  R�   t   dir(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR  ô  s     c         C   sN   t  i d j o: |  d j o) t |  d ƒ } | d j o t SqF qJ n t S(   sF   Determines if we're using a broken wxPython installed by Mac OS X 10.4R   s   /usr/bin/wx-configs    --version-fulls   2.5.3.1(   RY   Ra   RŸ   Rb   Rr   (   R  t   version_full(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR    s    c         C   s   t  i d j oR d d d d d d d d	 d
 d d d g } |  i i | ƒ |  i i | ƒ d Sn t |  d d d d d ƒd S(   sF   
    Add the module flags to build extensions which use wxPython.
    R   t   wxexpatht   wxjpeght	   wxmsw26uht   wxmsw26uh_animatet   wxmsw26uh_gizmost   wxmsw26uh_gizmos_xrct   wxmsw26uh_glt   wxmsw26uh_stct   wxpnght	   wxregexuht   wxtiffht   wxzlibhNR
  Ru   s   --cppflags --libsRv   s	   wx-config(   RY   Ra   Rh   R–   R|   (   Rs   R  t   wxlibs(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR    s    		c          C   st  t  }  d  } y d d  k } Wn1 t j
 o d } n: t j
 o d } n" X| i d j  o
 d } n t }  |  o™ t d g  ƒ } y t | ƒ } Wn' t j
 o } t	 | ƒ } t  }  qXt
 | i d ƒ p9 d d	 } | d  j	 o | d
 | 7} n | } t  }  qn |  o1 t d d | i i ƒ  d | i | i f ƒ n t d d ƒ | d  j	 o t | ƒ n |  S(   Niÿÿÿÿs   TKAgg requires Tkinters!   Tkinter present but import failedgš™™™™™ @s   Tcl/Tk v8.3 or later requiredR‡   s   tk.hs1   Tkinter present, but header files are not found. s-   You may need to install development packages.s   
t   Tkinters   Tkinter: %s, Tk: %s, Tcl: %siþÿÿÿR§   (   Rb   R`   R  R©   Rì   t	   TkVersionRr   R   t   add_tk_flagsR5   R†   Rf   R8   R¸   Rk   t
   TclVersionR:   (   RÚ   Ró   R  Rs   t   eR9   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   check_for_tk"  s@    

	(c          C   s  t  d j	 o t  Sn d d k }  d } d } y |  i ƒ  } Wn„ |  i j
 ou y |  i ƒ  } Wn( t j
 o qø |  i j
 o qø Xt | i d ƒ ƒ } | i	 d d ƒ i	 d d ƒ } n6 X| i
 ƒ  t | i d ƒ ƒ } t | i d	 ƒ ƒ } | | t |  i ƒ d
  f a  t  S(   s@  Tries to open a Tk window in order to query the Tk object about its library paths.
       This should never be called more than once by the same process, as Tk intricacies
       may cause the Python interpreter to hang. The function also has a workaround if
       no X server is running (useful for autobuild systems).iÿÿÿÿNR
  t   tcl_libraryt   Tclt   Tkt   tclt   tkt
   tk_libraryi   (   t   TCL_TK_CACHER`   R  R$  t   TclErrorR#  R¼   R5   t   getvart   replacet   withdrawR  (   R  t   tcl_lib_dirt
   tk_lib_dirR&  R%  (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   query_tcltkK  s*    #
c         C   sb  t  } t i d j oÛ t i \ } } } } } | d j o: | d+ j o- |  i i d g ƒ |  i i d d g ƒ nT | d j o: | d j o- |  i i d	 g ƒ |  i i d
 d g ƒ n t d ƒ ‚ |  i i t	 i
 i t i d ƒ g ƒ nnt i d j od d k l } l } | t	 i d ƒ d ƒ d d g }	 d }
 xE |	 D]= } x4 d, D]% } | | | | d ƒ ƒ p PqRqRWd }
 PqEW|
 o„ g  } d- D]* } d. D] } | | | | d | ƒ q¢q˜~ } d d d d g } |  i i | ƒ |  i i | ƒ |  i i | ƒ q^nJt ƒ  \ } } } | d j o¼| d j o¯t	 i
 i t	 i
 i | d ƒ ƒ } t	 i
 i t	 i
 i | d ƒ ƒ } t	 i
 i t	 i
 i | d | ƒ ƒ } t	 i
 i | ƒ p% t	 i
 i t	 i
 i | d ƒ ƒ } n t	 i
 i t	 i
 i | d  | ƒ ƒ } t	 i
 i | ƒ p% t	 i
 i t	 i
 i | d ƒ ƒ } n t	 i
 i t	 i
 i | d! ƒ ƒ o, t	 i
 i t	 i
 i | d! ƒ ƒ o
 | } n t	 i
 i | ƒ pM t i i d" ƒ o6 t	 i
 i d# ƒ o# t	 i
 i d$ ƒ o d% } d% } qìqn% d& } d' } d' } d( } d( } d } |  i i | | g ƒ |  i i | | g ƒ |  i i d) | d* | g ƒ | S(/   s5   Add the module flags to build extensions which use tkR   i   i   i   i   s   win32_static/include/tcl8.4t   tk84t   tcl84s   win32_static/include/tcl8.3t   tk83t   tcl83s/   No tk/win32 support for this python version yett   dllsR   iÿÿÿÿ(   Rƒ   R‚   t   HOMEs   /Library/Frameworkss   /System/Library/Frameworks/i    R#  R$  s
   .frameworki   t   Headerss   Versions/Current/PrivateHeaderss
   -frameworkR
  s   ../s   ../../include/tcls   ../../includes   ../../include/tks   tk.hR   s   /usr/include/tcl.hs   /usr/include/tk.hs   /usr/includesÍ   Using default library and include directories for Tcl and Tk because a
Tk window failed to open.  You may need to define DISPLAY for Tk to work
so that setup can determine where your libraries are located.s   /usr/local/includes   /usr/local/libR&  R%  (   i   i   i   (   s   Tcls   Tk(   s   Tcls   Tk(   R6  s   Versions/Current/PrivateHeaders(   R`   RY   Ra   t   version_infoRf   R–   Rh   Rì   Rg   RC   R�   Rƒ   t   prefixt   os.pathR‚   R  Rq   t   extra_compile_argsR/  t   normpathRø   (   Rs   R9   t   majort   minor1t   minor2RT   t   tmpRƒ   R‚   t   framework_dirst   tk_framework_foundt   Ft   fwR‹   t   Ht   tk_include_dirst
   frameworksR-  R.  t   tk_vert   tcl_libt   tk_libt   tcl_inct   tk_inc(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR  s  s„    )	  	
-!!#"
c         C   sM   |  i  i d g ƒ |  i i d g ƒ |  i i d g ƒ |  i i d ƒ d S(   s<   Add the module flags to build extensions using windowing apis
   C:/includet   user32s   C:/libs	   -mwindowsN(   Rf   R–   Rh   Rg   Rq   Rp   (   Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   add_windowing_flagsà  s    c         C   sB   t  o d Sn t d d g ƒ } t | ƒ |  i | ƒ t a  d S(   sr   windowing is optional and provides functions for managing
       windows better, .e.g.  maintaining focus on win32Ns   matplotlib._windowings   src/_windowing.cpp(   t   BUILT_WINDOWINGR   RM  Rp   Rr   (   t   ext_modulesRt   Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR   ç  s    
c         C   sw   t  o d  Sn d d g } | i t i d ƒ ƒ | i t i d ƒ ƒ t d | ƒ } t | ƒ |  i | ƒ t a  d  S(   Ns   src/ft2font.cpps   src/mplutils.cpps	   CXX/*.cxxs   CXX/*.cs   matplotlib.ft2font(   t   BUILT_FT2FONTR–   t   globR   Rè   Rp   Rr   (   RO  Rt   t   depsRs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   build_ft2fontô  s    
c         C   sQ   t  o d  Sn d d d d g } t d | ƒ } t | ƒ |  i | ƒ t a  d  S(   Ns   src/_ttconv.cpps   ttconv/pprdrv_tt.cpps   ttconv/pprdrv_tt2.cpps   ttconv/ttutil.cpps   matplotlib.ttconv(   t   BUILT_TTCONVR   R‰   Rp   Rr   (   RO  Rt   RR  Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   build_ttconv   s    	
c         C   s‹   t  o d  Sn d d g } | i t i d ƒ ƒ | i t i d ƒ ƒ t d | ƒ } t | ƒ t | ƒ t | ƒ |  i | ƒ t a  d  S(   Ns   src/_gtkagg.cpps   src/mplutils.cpps	   CXX/*.cxxs   CXX/*.cs   matplotlib.backends._gtkagg(	   t   BUILT_GTKAGGR–   RQ  R   Rä   Rè   Rî   Rp   Rr   (   RO  Rt   RR  Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR     s    	


c         C   sˆ   t  o d  Sn d g } | i t i d ƒ ƒ | i t i d ƒ ƒ t d | ƒ } t | ƒ t | ƒ t | ƒ |  i | ƒ t a  d  S(   Ns   src/_tkagg.cpps	   CXX/*.cxxs   CXX/*.cs   matplotlib.backends._tkagg(	   t   BUILT_TKAGGR–   RQ  R   R  Rä   Rè   Rp   Rr   (   RO  Rt   RR  Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR   "  s    		


c         C   s—   t  o d  Sn d d g } | i t i d ƒ ƒ | i t i d ƒ ƒ t d | ƒ } t | ƒ t | ƒ t ƒ  } t | | ƒ |  i | ƒ t	 a  d  S(   Ns   src/_wxagg.cpps   src/mplutils.cpps	   CXX/*.cxxs   CXX/*.cs   matplotlib.backends._wxagg(
   t   BUILT_WXAGGR–   RQ  R   Rä   Rè   R  R  Rp   Rr   (   RO  Rt   RR  Rs   R  (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR   5  s    

	c         C   sÝ   t  o d  Sn d } g  } | D] } | d	 t | f q  ~ } | i d ƒ | i t i d ƒ ƒ | i t i d ƒ ƒ t d d ƒ | i d ƒ t d | d t ƒ} t | ƒ t	 | ƒ t
 | ƒ |  i | ƒ t a  d  S(   Ns   agg_trans_affine.cpps   agg_path_storage.cpps   agg_bezier_arc.cpps   agg_curves.cpps   agg_vcgen_dash.cpps   agg_vcgen_stroke.cpps   agg_rasterizer_scanline_aa.cpps   agg_image_filters.cpps	   %s/src/%ss   src/_image.cpps   src/ft2font.cpps   src/mplutils.cpps	   CXX/*.cxxs   CXX/*.cs   src/_backend_agg.cpps   src/backend_agg.cpps    matplotlib.backends._backend_aggRf   (   s   agg_trans_affine.cpps   agg_path_storage.cpps   agg_bezier_arc.cpps   agg_curves.cpps   agg_vcgen_dash.cpps   agg_vcgen_stroke.cpps   agg_rasterizer_scanline_aa.cpps   agg_image_filters.cpp(   s   src/_image.cpps   src/ft2font.cpps   src/mplutils.cpp(   t	   BUILT_AGGRâ   R–   RQ  RV   Rp   R   t   numpy_inc_dirsRÙ   Rä   Rè   Rr   (   RO  Rt   t   aggR‹   R@   RR  Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR   I  s0           +	


c         C   sÌ   t  o d  Sn d } t d d ƒ d d g } | i g  } | D] } | d	 t | f q? ~ ƒ | i t i d
 ƒ ƒ | i t i d ƒ ƒ t d | d t ƒ} t | ƒ t | ƒ |  i	 | ƒ t
 a  d  S(   Ns   agg_trans_affine.cpps   agg_path_storage.cpps   agg_rasterizer_scanline_aa.cpps   agg_image_filters.cpps   agg_bezier_arc.cpps   src/_image.cpps   src/image.cpps   src/mplutils.cpps	   %s/src/%ss	   CXX/*.cxxs   CXX/*.cs   matplotlib._imageRf   (   s   agg_trans_affine.cpps   agg_path_storage.cpps   agg_rasterizer_scanline_aa.cpps   agg_image_filters.cpps   agg_bezier_arc.cpp(   t   BUILT_IMAGERV   R–   Râ   RQ  R   RZ  RÙ   Rä   Rp   Rr   (   RO  Rt   R[  RR  R‹   R@   Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyR   p  s&        2	

c      	   C   sˆ   d g } | i  g  } d D] } | d	 t | f q ~ ƒ t d
 | ƒ } | i i  d t d d g ƒ | i i  t ƒ |  i | ƒ d  S(   Ns   src/agg.cxxs   agg_trans_affine.cpps   agg_path_storage.cpps   agg_bezier_arc.cpps   agg_vcgen_dash.cpps   agg_vcgen_stroke.cpps   agg_rasterizer_scanline_aa.cpps   agg_curves.cpps	   %s/src/%ss   matplotlib._aggs
   %s/includeRà   Rá   (   s   agg_trans_affine.cpps   agg_path_storage.cpps   agg_bezier_arc.cpps   agg_vcgen_dash.cpps   agg_vcgen_stroke.cpps   agg_rasterizer_scanline_aa.cpps   agg_curves.cpp(   R–   Râ   R   Rf   Rh   Rã   Rp   (   RO  Rt   RR  R‹   t   fnameR[  (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   build_swigagg�  s    	      %	c         C   s†   t  i  d ƒ } | i t  i  d ƒ ƒ t d d ƒ t d d d g | d t d d	 d
 g t ƒ} t | ƒ t | ƒ |  i | ƒ d  S(   Ns	   CXX/*.cxxs   CXX/*.cs   src/_transforms.cpps   src/transforms.cpps   matplotlib._transformss   src/mplutils.cppRh   Rf   Rà   R“   (	   RQ  R–   RV   R   Rã   RZ  RÙ   R‰   Rp   (   RO  Rt   t   cxxRs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   build_transforms¥  s    

c         C   sZ   t  o d  Sn t d d g ƒ } |  i | ƒ | i d d d d d d d	 g ƒ t a  d  S(
   Ns   enthought.traits.ctraitss   lib/enthought/traits/ctraits.cRÀ   s   enthought/etsconfigs   enthought/traitss   enthought/traits/uis   enthought/traits/ui/extrass   enthought/traits/ui/nulls   enthought/traits/ui/tk(   t   BUILT_TRAITSR   Rp   R–   Rr   (   RO  Rt   t   ctraits(    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   build_traits¶  s    	
c         C   sR   t  o d  Sn t d d g d t ƒ} t | ƒ t | ƒ |  i | ƒ t a  d  S(   Ns   matplotlib._cntrs
   src/cntr.cRf   (   t   BUILT_CONTOURR   RZ  RÙ   R‰   Rp   Rr   (   RO  Rt   Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   build_contourÉ  s    		

c         C   sR   t  o d  Sn t d d g d t ƒ} t | ƒ t | ƒ |  i | ƒ t a  d  S(   Ns   matplotlib.nxutilss   src/nxutils.cRf   (   t   BUILT_NXUTILSR   RZ  RÙ   R‰   Rp   Rr   (   RO  Rt   Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   build_nxutilsÙ  s    		

c         C   so   t  o d  Sn t d d ƒ t d d g d g  d t ƒ} t | ƒ t | ƒ t | ƒ |  i | ƒ t a  d  S(   Ns   src/_backend_gdk.cs   src/backend_gdk.cs    matplotlib.backends._backend_gdkRh   Rf   (	   t	   BUILT_GDKRV   R   RZ  RÙ   R‰   Rî   Rp   Rr   (   RO  Rt   Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt	   build_gdkè  s    		


c         C   s-   t  d d g ƒ } t | ƒ |  i | ƒ d  S(   Ns   subprocess._subprocesss   src/_subprocess.c(   R   R‰   Rp   (   RO  Rt   Rs   (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pyt   build_subprocessû  s
    
(    (n   RH   RC   RÏ   R  R•   RY   RM   Ra   Rc   t   setsR   t   textwrapR   t   distutils.coreR   RQ  t   ConfigParserR7  R<  R=  R>  RT   R?  Rr   Rb   RY  RP  RT  RV  R\  RW  RX  RN  Rd  Rf  Ra  Rh  R`   R(  Râ   RZ  R·   R�   R‚   t   SafeConfigParsert   configRK   t
   getbooleanRl   R0   R8   R:   R<   R?   RV   R\   Rç   Rã   R^   R_   R|   R~   R€   R†   R�   R�   R‰   RŸ   R¥   R­   R°   R³   Rµ   R»   R½   R¾   RÂ   RÊ   RÍ   RÕ   R×   RÛ   RÙ   Rä   Rè   Rô   Rî   R  R  R  R  R!  R/  R  RM  R   RS  RU  R   R   R   R   R   R^  R`  Rc  Re  Rg  Ri  Rj  (    (    (    sG   /afs/athena.mit.edu/user/w/a/ward/Desktop/matplotlib-0.91.2/setupext.pys   <module>*   s<  	$'
																			
	
	$											
	
													/	>	0					)	(	m								'							