;ò
k<Ac           @   sç  d  k  Z  d  k 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 k l Z d k l Z d  k Z d  k Z d  k Z d  k Z d Z d Z d Z d	 Z d
 Z d Z d Z d Z d Z d Z d Z d Z  d Z! d Z" d Z# d	 Z$ d	 Z% d	 Z& d	 Z' d Z( e i) d j Z* e i) d j Z+ d Z, d Z- d Z. d Z/ d	 Z0 d Z1 d Z2 d	 Z3 d Z4 d Z5 d	 Z6 d
 Z7 d	 Z8 e9 a: d Z; d Z< d
 Z= d	 Z> d Z? d	 Z@ d e e f ZA d ZB d „  ZC d „  ZD d „  ZE d ZF g  ZG g  ZH g  aI d  e  iJ j p d! e  iJ j ZK d" e  iJ j p d# e  iJ j ZL d$ e  iJ j ZM e  iN d%  d& j o
 d' Z; n e i) d j o
 d( Z; n xä d) d* d+ d, d- d. d/ d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d: d; d< d= g D] ZO x” eP eQ e  iJ ƒ ƒ D]} ZR e  iJ eR iS eO ƒ d j oZ e  iJ eR iS d> ƒ d	 ZT eT d j o/ eU e  iJ eR eT ƒ eV ƒ  eO <d
 e  iJ eR <qSqÖqÖWqºWx· d? d@ dA dB dC dD dE dF g D]— ZW xŽ eP eQ e  iJ ƒ ƒ D]w ZR e  iJ eR iS eW ƒ d j oT e  iJ eR iS d> ƒ d	 ZT eT d j o) e  iJ eR eT eV ƒ  eW <d
 e  iJ eR <qq–q–WqzWeX e9 e  iJ ƒ e  _J dG „  ZY g  eZ dH „ Z[ dI e i\ i] i] f dJ „  ƒ  YZ^ dK e i\ i_ i_ f dL „  ƒ  YZ` dM e i\ ia ia f dN „  ƒ  YZb dO e i\ ic ic f dP „  ƒ  YZd d	 dQ „ Ze dR „  Zf dS „  Zg dT „  Zh dU „  Zi dV „  Zj ek eZ dW „ Zl e, o. d Z$ d Z% d Z& d Z' d Z( d Z* d Z+ n eL o d Z? d Z@ n e? o
 d Z@ n e2 o e; d( d d' g j o em dX e; ‚ n e= o e= g Z= n g  Z= e i) d j oe in io dY ƒ o e in dY Zp n eC dZ ƒ d[ Zp d\ Zq d( Zr d] d^ eD ep d_ d` d( eE ƒ  ƒ eD ep d] ƒ eD ep da d] ƒ g Zs db e9 f dc e9 f eq e9 f dd de f df e9 f dg de f g Zt e3 o et iu dh f ƒ n e@ o et iu di e9 f ƒ n e? p e@ o et iu dj e9 f ƒ n eD ep d_ d` ƒ g Zv e> o eh d
 ƒ Zw nm dk eA eE ƒ  dk eA eE ƒ  dl dk eA eE ƒ  dm eh dn ƒ d eh do ƒ d eh dp ƒ d eh dq ƒ d g Zw ew dr ds dt du dv dw dx dy dz d{ d| d} d~ d d€ d g Zw d‚ g Zx e9 Zy e? o qY
e@ o qY
n‰e i) dƒ j ord[ Zp d] d^ g Zs df e9 f d„ e9 f dg de f g Zt e3 o et iu dh f ƒ n eY ƒ  g  Zv g  Zw e iz t: d… d† ƒ i{ ƒ  d‡  Zx ex i| ƒ  Zx eL o ex iu d# ƒ ex iu dˆ ƒ n ex iu d‰ ƒ e iz t: dŠ d† ƒ i{ ƒ  d‡  Zy ey i| ƒ  Zy e iz t: d‹ ƒ i{ ƒ  d‡  Z} e iz t: dŒ ƒ i{ ƒ  d‡  Z~ e iz t: d ƒ i{ ƒ  d‡  Z e  iN d%  d& j o dŽ Zq d' Zr d g Zw d	 Z4 nÖ e; Zr e; d j o& d‘ Zq e iz d’ d† ƒ i{ ƒ  d‡  Z€ n€ e; d j o: d‘ Zq d Zr e iz d“ d† ƒ i{ ƒ  d‡  Z€ e< d” e; Z< n9 e; d• j o d– Zq d
 Z€ e< d” e; Z< n em d— e; ‚ ex e€ i| ƒ  7Zx ev iu d˜ ƒ ei ex et es ƒ Zx ej ey ev ew ƒ Zy n d™ ‚ e2 o e< dš Z< n e i i‚ d› ƒ o$ e d eƒ d› ƒ i{ ƒ  i„ ƒ  7Z n dœ e e e e e f Z… e/ Z† eK Z‡ d dž dŸ d  d¡ d¢ d£ d¤ eD eB d^ ƒ d¥ eq d¦ g
 Zˆ e2 o eˆ iu d§ ƒ n e1 o eˆ iu d¨ ƒ n eD eB d© ƒ eD eB dª ƒ eD eB d« ƒ eD eB d¬ ƒ eD eB d­ ƒ g Z‰ g  ZŠ d  k‹ Z‹ d  kŒ Z y d  kŽ ZŽ ek Z Wn e j
 o eZ Z n Xd® Z‘ d¯ Z’ d° Z“ d± Z” d² f  d³ „  ƒ  YZ• d  S(´   N(   s   setups	   Extension(   s	   copy_file(   s   mkpath(   s   newer(   s   spawni   i   i   i   s    s%   Cross platform GUI toolkit for Pythons
   Robin Dunns   Robin Dunn <robin@alldunn.com>s   http://wxPython.org/s    http://wxPython.org/download.phps+   wxWidgets Library License (LGPL derivative)s   WIN32,OSX,POSIXs)   GUI,wx,wxWindows,wxWidgets,cross-platforms  wxPython is a GUI toolkit for Python that is a wrapper around the
wxWidgets C++ GUI library.  wxPython provides a large variety of
window types and controls, all implemented with a native look and
feel (by using the native widgets) on the platforms it is supported
on.
s‘  Development Status :: 6 - Mature
Environment :: MacOS X :: Carbon
Environment :: Win32 (MS Windows)
Environment :: X11 Applications :: GTK
Intended Audience :: Developers
License :: OSI Approved
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows :: Windows 95/98/2000
Operating System :: POSIX
Programming Language :: Python
Topic :: Software Development :: User Interfaces
i    s   nts   swigs   gtk2s   builds   %d%ds   .c         C   s'   t  t d ƒ o t i o	 |  GHn d  S(   Ns   setup_is_main(   s   hasattrs   syss   setup_is_mains   text(   s   text(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   msgÀ   s    c          G   s&   t  i i |  Œ  } t  i i | ƒ Sd  S(   N(   s   oss   paths   joins   argss   normpath(   s   argss   path(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   opjÅ   s    c          C   sE   t  o
 d }  n t o
 d }  n d }  t o d |  }  n |  Sd  S(   Ns    s   hs   ds   u(   s   FINALs   rvs   HYBRIDs   UNICODE(   s   rv(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   libFlagÊ   s    

s   wxs   --forces   -fs   --debugs   -gs   cleani   s   darwins   macs   msws   BUILD_GLCANVASs	   BUILD_OGLs	   BUILD_STCs   BUILD_GIZMOSs   BUILD_DLLWIDGETs   BUILD_IEWINs   BUILD_ACTIVEXs	   CORE_ONLYs	   PREP_ONLYs   USE_SWIGs   UNICODEs   UNDEF_NDEBUGs
   NO_SCRIPTSs
   NO_HEADERSs   BUILD_RENAMERSs	   FULL_DOCSs   INSTALL_MULTIVERSIONs   EP_ADD_OPTSs
   MONOLITHICs   FINALs   HYBRIDs   =s	   WX_CONFIGs   WXDLLVERs
   BUILD_BASEs   WXPORTs   SWIGs   CONTRIBS_INCs   WXPY_SRCs   FLAVOURc          C   s5  t  t j o$d a  t } | d j o
 d } n d | } | d t o d p d 7} | d t t f 7} t i	 d	 } x· | i d
 ƒ D]˜ } t i i | d ƒ }  t i i |  ƒ o t i |  t i ƒ oT t d |  ƒ t d | ƒ |  | a  t t d ƒ o t i o t  d 7a  n Pq‡ q‡ Wt d ƒ n d S(   s¿    Called below for the builds that need wx-config, if WX_CONFIG
        is not set then determins the flags needed based on build
        options and searches for wx-config on the PATH.  
    s	   wx-configs   x11s   x11univs    --toolkit=%ss    --unicode=%ss   yess   nos    --version=%s.%ss   PATHs   :s   Found wx-config: s       Using flags: s   setup_is_mains    2>/dev/null sC   ERROR: WX_CONFIG not specified and wx-config not found on the $PATHN(   s	   WX_CONFIGs   Nones   WXPORTs   ports   flagss   UNICODEs	   VER_MAJORs	   VER_MINORs   oss   environs
   searchpaths   splits   ps   paths   joins   fps   existss   accesss   X_OKs   msgs   hasattrs   syss   setup_is_main(   s   fps
   searchpaths   ps   flagss   port(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   Verify_WX_CONFIG  s,      

 )
	c	         C   s<  | o  t i i t i i | | ƒ ƒ o  t i t i i | | ƒ ƒ n | o  t i i t i i d d ƒ ƒ oE t i i d ƒ o t i d ƒ n t i t i i d d ƒ ƒ n g  }
 | o
 d }	 n d }	 x[|  D]S} t i i | ƒ d } t i i | | ƒ } t i i | | |	 | d ƒ } t i i | | |	 | d ƒ } t i i d d | |	 d ƒ } | o d	 d | d g } n g  } |
 i | ƒ t o | oEx9 | D]1 } t | | ƒ p t | | ƒ o d
 } Pq¶q¶W| p t | | ƒ p t | | ƒ oÞ t o‹ t i d ƒ } t g | d d | g d | d | | g } t! d i | ƒ ƒ t" | ƒ t# ƒ  } | i% | |	 | | ƒ t i& | ƒ n t g | | d | d | d | | g } t! d i | ƒ ƒ t" | ƒ qôn t' | | d | d d ƒt) i t* | t i i+ | ƒ ƒ ƒ qÝ W|
 Sd S(   s   Run SWIG the way I want it dones   docss   xml-raws   _s    i    s   .pys	   _wrap.cpps	   _swig.xmls
   -interfacei   s   .xmls   -DBUILDING_RENAMERSs   -xmlouts   -Is   -os    s   updates   verboseN(,   s   USE_SWIGs   oss   paths   existss   joins   dirs   gendirs   mkdirs   sourcess	   add_unders   pres   filess   files   splitexts   basefiles   i_files   py_files   cpp_files   xml_files	   interfaces   appends   cleanings	   swig_depss   deps   newers   forces   BUILD_RENAMERSs   tempfiles   mktemps   xmltemps   swig_cmds	   swig_argss   cmds   msgs   spawns   BuildRenamerss	   myRenamers   runs   removes	   copy_files   packages   CLEANUPs   opjs   basename(   s   filess   dirs   gendirs   packages   USE_SWIGs   forces	   swig_argss	   swig_depss	   add_unders   pres   sourcess   files   xml_files   py_files   xmltemps	   interfaces	   myRenamers   deps   basefiles   cmds   cpp_files   i_file(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   run_swig3  sV     * *  
      	'.
	+&s   wx_smart_install_datac           B   s   t  Z d  Z d „  Z RS(   s9   need to change self.install_dir to the actual library dirc         C   s;   |  i d ƒ } t | d ƒ |  _ t i i i i |  ƒ Sd  S(   Ns   installs   install_lib(	   s   selfs   get_finalized_commands   install_cmds   getattrs   install_dirs	   distutilss   commands   install_datas   run(   s   selfs   install_cmd(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   run€  s    (   s   __name__s
   __module__s   __doc__s   run(    (    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   wx_smart_install_data~  s    s   wx_extra_cleanc           B   s   t  Z d  Z d „  Z RS(   s…   
    Also cleans stuff that this setup.py copies itself.  If the
    --all flag was used also searches for .pyc, .pyd, .so files
    c         C   s‚  d k  l } d k l } t  i i i i |  ƒ |  i oJ | ƒ  } | i
 d d ƒ | i
 d d ƒ | i
 d d ƒ t | i 7a n x÷ t D]ï } t i i | ƒ om yC |  i o t i i | ƒ o t i | ƒ n | i d | ƒ Wqzt j
 o | i d | ƒ qzXq‹ yC |  i o t i i | ƒ o t i | ƒ n | i d | ƒ Wq‹ t j
 o | i d | ƒ q‹ Xq‹ Wd  S(	   N(   s   log(   s   FileLists   *.pyci    s   *.pyds   *.sos   removing '%s's   unable to remove '%s'(   s	   distutilss   logs   distutils.filelists   FileLists   commands   cleans   runs   selfs   alls   fls   include_patterns   CLEANUPs   filess   fs   oss   paths   isdirs   dry_runs   existss   rmdirs   infos   IOErrors   warnings   remove(   s   selfs   logs   fs   FileLists   fl(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   run‹  s2     
	 (   s   __name__s
   __module__s   __doc__s   run(    (    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   wx_extra_clean†  s    s
   wx_installc           B   s   t  Z d  Z d „  Z RS(   s%   
    Turns off install_path_file
    c         C   s#   t  i i i i |  ƒ d |  _ d  S(   Ni    (   s	   distutilss   commands   installs   initialize_optionss   selfs   install_path_file(   s   self(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   initialize_options°  s    (   s   __name__s
   __module__s   __doc__s   initialize_options(    (    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys
   wx_install¬  s    s   wx_install_headersc           B   s)   t  Z d  Z d „  Z d „  Z d „  Z RS(   sZ   
    Install the header files to the WXPREFIX, with an extra dir per
    filename too
    c         C   s#   t  |  _ t i i i i |  ƒ d  S(   N(   s   Nones   selfs   roots	   distutilss   commands   install_headerss   initialize_options(   s   self(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   initialize_optionsº  s    	c         C   s0   |  i d d d f ƒ t i i i i |  ƒ d  S(   Ns   installs   root(   s   selfs   set_undefined_optionss	   distutilss   commands   install_headerss   finalize_options(   s   self(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   finalize_options¾  s    c         C   sÜ   t  i d j o d  Sn |  i i } | o d  Sn |  i } | t j p t i | ƒ o
 d } n xq | D]i \ } } t  i i | t d t t f | ƒ } |  i | ƒ |  i | | ƒ \ } } |  i i | ƒ qk Wd  S(   Ns   nts    s   /include/wx-%d.%d/wx(   s   oss   names   selfs   distributions   headerss   roots   Nones   WXPREFIXs
   startswiths   headers   locations   paths   normpaths	   VER_MAJORs	   VER_MINORs   install_dirs   mkpaths	   copy_files   outs   _s   outfiless   append(   s   selfs   roots   headers   install_dirs   headerss   locations   _s   out(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   runÂ  s    	
 ((   s   __name__s
   __module__s   __doc__s   initialize_optionss   finalize_optionss   run(    (    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   wx_install_headersµ  s    		c         C   s¹   t  i  t t d d ƒ ƒ } x— | D] } t i i t i i | ƒ ƒ d } t |  | d ƒ } t | d | ƒt | t | d ƒ d d d | ƒt i t | d ƒ ƒ t i | ƒ q" Wd	 S(
   s5   Build a locale dir under the wxPython package for MSWs   locales   *.moi    s   LC_MESSAGESs   verboses   wxstd.mos   updatei   N(   s   globs   opjs   WXDIRs   moFiless   srcs   oss   paths   splitexts   basenames   langs   destdirs   dests   mkpaths   verboses	   copy_files   CLEANUPs   append(   s   destdirs   verboses   langs   srcs   dests   moFiles(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   build_locale_dirØ  s      ""c         C   s-   d „  } g  } t i i |  | | ƒ | Sd  S(   Nc         C   sR   xK | D]C } t | | ƒ } t i i | ƒ o |  i	 | | g f ƒ q q Wd  S(   N(
   s   filess   fs   opjs   dirnames   filenames   oss   paths   isdirs   lsts   append(   s   lsts   dirnames   filess   fs   filename(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   walk_helperæ  s
     (   s   walk_helpers	   file_lists   oss   paths   walks   srcdir(   s   srcdirs	   file_lists   walk_helper(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   build_locale_listä  s    	c         G   s3   d „  } g  } t i i |  | | | f ƒ | Sd  S(   Nc   	      C   s   g  } |  \ } } xf | D]^ } xU | D]M } t | | ƒ } t
 i
 | | ƒ o t i i | ƒ o | i | ƒ q& q& Wq W| o | i | | f ƒ n d  S(   N(   s   namess   args   lsts	   wildcardss   wcs   filess   fs   opjs   dirnames   filenames   fnmatchs   oss   paths   isdirs   append(	   s   args   dirnames   filess	   wildcardss   wcs   fs   filenames   lsts   names(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   walk_helperô  s      '(   s   walk_helpers	   file_lists   oss   paths   walks   srcdirs	   wildcards(   s   srcdirs	   wildcardss	   file_lists   walk_helper(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   find_data_filesð  s    	c         C   sf   t  i d j o d t |  t f } n5 |  o d t t ƒ  |  f } n d t t ƒ  f } | g Sd  S(   Ns   posixs   %s_%s-%ss   wxmsw%s%s_%ss	   wxmsw%s%s(   s   oss   names
   WXBASENAMEs	   WXRELEASEs   libnames   WXDLLVERs   libFlag(   s   names   libname(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   makeLibName  s    c         C   sã   g  } xÒ |  D]Ê } | d  d j o | i | d ƒ q | d  d j oW | d } | i d ƒ d j o | i | t f ƒ q× | i t | i	 d ƒ ƒ ƒ q | d  d j o | i | d f ƒ q | i | ƒ q W| Sd S(   s]   Extract the raw -I, -D, and -U flags and put them into
       defines and includes as needed.i   s   -Is   -Ds   =iÿÿÿÿs   -UN(
   s	   newCFLAGSs   cflagss   flags   includess   appends   finds   definess   Nones   tuples   split(   s   cflagss   definess   includess   flags	   newCFLAGS(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   adjustCFLAGS  s      
 c         C   sx   g  } xg t D]_ } | d  d j o | i | d ƒ q | d  d j o | i | d ƒ q | i | ƒ q W| Sd S(   sF   Extract the -L and -l flags and put them in libdirs and libs as neededi   s   -Ls   -lN(   s	   newLFLAGSs   lflagss   flags   libdirss   appends   libs(   s   lfagss   libdirss   libss	   newLFLAGSs   flag(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   adjustLFLAGS$  s      c         C   s¿   |  o7 d t t f } t d d j o | d t 7} qT n d t t t t f } | oC t } | d j o
 d } n | d t t	 o d	 p d
 f 7} n t
 o | d t
 7} n | Sd S(   s6   Get the dirname that wxPython will be installed under.s   wx-%d.%di   i   s   .%ds   wx-%d.%d.%d.%ds   msws   win32s   -%s-%ss   unicodes   ansis   -N(   s   shortVers	   VER_MAJORs	   VER_MINORs   eps   VER_RELEASEs
   VER_SUBRELs   addOptss   WXPORTs   ports   UNICODEs   FLAVOUR(   s   shortVers   addOptss   ports   ep(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   getExtraPath3  s      
&s5   UNICODE mode not currently supported on this WXPORT: s   WXWINs&   WARNING: WXWIN not set in environment.s   ..s	   __WXMSW__s   includes   srcs   libs   vc_dlls   contribs   WIN32s   _WINDOWSs
   WXUSINGDLLs   1s   SWIG_GLOBALs   WXP_USE_THREADs   NDEBUGs   __NO_VC_CRTDBG__s   __WXDEBUG__s   wxbases   _nets   _xmls   cores   advs   htmls   xrcs   kernel32s   user32s   gdi32s   comdlg32s   winspools   winmms   shell32s   oldnamess   comctl32s   odbc32s   ole32s   oleaut32s   uuids   rpcrt4s   advapi32s   wsock32s   /Gys   posixs   HAVE_CONFIG_Hs    --cxxflagss   riÿÿÿÿs   -O0s   -O3s    --libss    --basenames
    --releases	    --prefixs	   __WXMAC__s   stdc++s   gtks	   __WXGTK__s   gtk-config --cflagss   pkg-config gtk+-2.0 --cflagss   -s   x11s	   __WXX11__s   Unknown WXPORT value: s   /usr/X11R6/libs    Sorry, platform not supported...s   .unicodes   DAILY_BUILDs   %s.%s.%s.%s%ss   -c++s   -Walls
   -nodefaults   -pythons   -keywords	   -new_reprs   -moderns   -Is   -Ds
   -noruntimes   -DwxUSE_UNICODEs   -D_DO_FULL_DOCSs   src/my_typemaps.is   src/my_fragments.is   src/common.swgs   src/pyrun.swgs   src/python.swgs¦   // A bunch of %rename directives generated by BuildRenamers in config.py
// in order to remove the wx prefix from all global scope names.

#ifndef BUILDING_RENAMERS

s   
#endif
sh  ## This file reverse renames symbols in the wx package to give
## them their wx prefix again, for backwards compatibility.
##
## Generated by BuildRenamers in config.py

# This silly stuff here is so the wxPython.wx module doesn't conflict
# with the wx package.  We need to import modules from the wx package
# here, then we'll put the wxPython.wx entry back in sys.modules.
import sys
_wx = None
if sys.modules.has_key('wxPython.wx'):
    _wx = sys.modules['wxPython.wx']
    del sys.modules['wxPython.wx']

import wx.%s

sys.modules['wxPython.wx'] = _wx
del sys, _wx


# Now assign all the reverse-renamed names:
s   

s   BuildRenamersc           B   s/   t  Z d d „ Z d „  Z d „  Z d „  Z RS(   Ns   wxPythonc         C   sê  t  p
 t d ‚ t i i | ƒ o t i | ƒ n t i i | d | d ƒ } t i i | | d ƒ } t i d ƒ }
 t |
 d ƒ }	 |	 i t ƒ t i d ƒ } t | d ƒ } | i t | ƒ d GH|  i | | |	 | ƒ |  i | | t i i | d | d ƒ ƒ | i t ƒ | i ƒ  |	 i t ƒ |	 i ƒ  xª | |
 f | | f g D] \ } } t i i | ƒ o t i | | ƒ qRt | ƒ i  ƒ  t | ƒ i  ƒ  j o! t i! | ƒ t i | | ƒ qR| d	 GHt i! | ƒ qRWd  S(
   NsF   The libxml2 module is required to use the BuildRenamers functionality.s   _s	   _rename.is   .pys   .tmps   ws$   Parsing XML and building renamers...s   _reverse.txts    not changed.("   s   FOUND_LIBXML2s   AssertionErrors   oss   paths   existss   wxPythonDirs   mkdirs   joins   destdirs   modnames   swigDests   pyDests   tempfiles   mktemps   swigDestTemps   opens   swigFiles   writes   renamerTemplateStarts
   pyDestTemps   pyFiles   wxPythonTemplateStarts   selfs
   processXMLs   xmlfiles   checkOtherNamess   wxPythonTemplateEnds   closes   renamerTemplateEnds   dests   temps   renames   reads   unlink(   s   selfs   destdirs   modnames   xmlfiles   wxPythonDirs   pyDests   temps   swigDests   pyFiles   swigFiles   swigDestTemps   dests
   pyDestTemp(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   runƒ  s8    

 %	c         C   s=   d | } | i | ƒ } t | ƒ o | d i Sn t Sd  S(   Ns,   ./attributelist/attribute[@name='%s']/@valuei    (   s   names   paths   nodes
   xpathEval2s   ns   lens   contents   None(   s   selfs   nodes   names   ns   path(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   GetAttr°  s
    
c         C   si  t  i | ƒ i } | i d ƒ }	 x" |	 D] } | i ƒ  | i	 ƒ  q( Wx| D]} t } t } t } t } | i d j oY |  i | d ƒ } } |  i | d ƒ } } t } t } | | j o | } t } qŽn»| i d j oK |  i | d ƒ } |  i | d ƒ } | | j o | } t } t } qŽn`| i d j o | i i i d j o. |  i | d ƒ } |  i | d ƒ } t } n| i d d	 g j oõ |  i | d ƒ } |  i | d ƒ } | i i d j } | o |  i | d
 ƒ d j o
 t } nn | o |  i | d ƒ d j o
 t } nD |  i | d
 ƒ d j o* | d | } | d | } t } } n | o
 | | j o | } t } qŽn | o | oÅ | } }
 | i d ƒ o | i d ƒ o1 | d }
 | o | i d |
 | f ƒ qøn | o | i d ƒ o d | } n | i d | | |
 f ƒ | o | i d | | |
 f ƒ qaqM qM Wd  S(   Ns   */imports   classs   names   sym_names   constructors   enumitems   includes   cdecls   constants   views   globalfunctionHandlers   feature_immutables   1s   staticmemberfunctionHandlers   _s   wxs   wxEVT_i   s   %%rename(%s)  %35s;
s   %s = wx.%s.%s
s   %sPtr = wx.%s.%sPtr
(    s   libxml2s	   parseFiles   xmlfiles   childrens   topnodes
   xpathEval2s   importss   ns
   unlinkNodes   freeNodes   nodes   Falses   doRenames   doPtrs   addWXs   revOnlys   names   selfs   GetAttrs   lastClassNames   lastClassSymNames   sym_names   Trues   parents   toplevels   olds   news
   startswiths   swigFiles   writes   pyFiles   modname(   s   selfs   xmlfiles   modnames   swigFiles   pyFiles   olds   doPtrs   revOnlys   sym_names   importss   news   nodes   lastClassSymNames   toplevels   topnodes   names   addWXs   ns   lastClassNames   doRename(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys
   processXML¹  sr     
 &
 
 

!
c   	      C   sœ  t  i i | ƒ o…g  } xü t | ƒ D]î } | i d ƒ o | d  } n | o | i d ƒ o² | i d ƒ o | i	 | d  ƒ q| i
 d ƒ d j o | i d | ƒ qd | } | i d ƒ p | i d ƒ p | i d	 ƒ o
 | } n | i d
 | | | f ƒ q& q& W| ou | i d | ƒ t } xJ | D]B } | o | i d ƒ t } n | i d ƒ | i d | ƒ q=W| i d ƒ q˜n d  S(   Ns   
iÿÿÿÿs   #s   *s   =s   %s
s   wxs   WXs   EVTs   %s = wx.%s.%s
s7   

d = globals()
for k, v in wx.%s.__dict__.iteritems():s   
    if s
   
    elif s$   k.startswith('%s'):
        d[k] = vs   
del d, k, v

(   s   oss   paths   existss   filenames   prefixess   files   lines   endswiths
   startswiths   appends   finds   pyFiles   writes   wxnames
   moduleNames   Trues   firsts   ps   False(	   s   selfs   pyFiles
   moduleNames   filenames   prefixess   ps   lines   wxnames   first(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   checkOtherNames  s4     
0
" 
(   s   __name__s
   __module__s   runs   GetAttrs
   processXMLs   checkOtherNames(    (    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   BuildRenamers‚  s   -			V(–   s   syss   oss   globs   fnmatchs   tempfiles   distutils.cores   setups	   Extensions   distutils.file_utils	   copy_files   distutils.dir_utils   mkpaths   distutils.dep_utils   newers   distutils.spawns   spawns   distutils.command.installs	   distutilss   distutils.command.install_datas!   distutils.command.install_headerss   distutils.command.cleans	   VER_MAJORs	   VER_MINORs   VER_RELEASEs
   VER_SUBRELs	   VER_FLAGSs   DESCRIPTIONs   AUTHORs   AUTHOR_EMAILs   URLs   DOWNLOAD_URLs   LICENSEs	   PLATFORMSs   KEYWORDSs   LONG_DESCRIPTIONs   CLASSIFIERSs   BUILD_GLCANVASs	   BUILD_OGLs	   BUILD_STCs   BUILD_GIZMOSs   BUILD_DLLWIDGETs   names   BUILD_IEWINs   BUILD_ACTIVEXs	   CORE_ONLYs	   PREP_ONLYs   USE_SWIGs   SWIGs   BUILD_RENAMERSs	   FULL_DOCSs   UNICODEs   UNDEF_NDEBUGs
   NO_SCRIPTSs
   NO_HEADERSs   INSTALL_MULTIVERSIONs   FLAVOURs   EP_ADD_OPTSs   Nones	   WX_CONFIGs   WXPORTs
   BUILD_BASEs   CONTRIBS_INCs
   MONOLITHICs   FINALs   HYBRIDs   WXDLLVERs   WXPY_SRCs   msgs   opjs   libFlags   PKGDIRs   wxpExtensionss
   DATA_FILESs   CLEANUPs   argvs   forces   debugs   cleanings   platforms   flags   ranges   lens   xs   finds   poss   evals   varss   options   filters   Verify_WX_CONFIGs   Falses   run_swigs   commands   install_datas   wx_smart_install_datas   cleans   wx_extra_cleans   installs
   wx_installs   install_headerss   wx_install_headerss   build_locale_dirs   build_locale_lists   find_data_filess   makeLibNames   adjustCFLAGSs   adjustLFLAGSs   Trues   getExtraPaths
   SystemExits   environs   has_keys   WXDIRs   WXPLATs   GENDIRs   includess   definess   appends   libdirss   libss   cflagss   lflagss   popens   reads   splits
   WXBASENAMEs	   WXRELEASEs   WXPREFIXs   portcfgs   paths   existss   opens   strips   VERSIONs   swig_cmds
   swig_forces	   swig_argss	   swig_depss   dependss   pprints   xml.saxs   xmls   libxml2s   FOUND_LIBXML2s   ImportErrors   renamerTemplateStarts   renamerTemplateEnds   wxPythonTemplateStarts   wxPythonTemplateEnds   BuildRenamers(m   s
   WXBASENAMEs   FLAVOURs	   distutilss	   swig_argss   GENDIRs   getExtraPaths	   swig_depss   xmls   BUILD_GIZMOSs   tempfiles   pprints
   BUILD_BASEs	   BUILD_OGLs   URLs	   copy_files   CONTRIBS_INCs   makeLibNames   VERSIONs   BUILD_RENAMERSs   libss
   swig_forces	   FULL_DOCSs   opjs   find_data_filess   debugs   xs   WXDLLVERs   wxpExtensionss   VER_RELEASEs   DOWNLOAD_URLs   wxPythonTemplateEnds   dependss   KEYWORDSs   wx_smart_install_datas   INSTALL_MULTIVERSIONs   AUTHORs	   CORE_ONLYs   UNICODEs
   DATA_FILESs   LONG_DESCRIPTIONs
   wx_installs	   Extensions   WXPLATs   BUILD_DLLWIDGETs   build_locale_lists   BUILD_GLCANVASs   renamerTemplateStarts
   VER_SUBRELs   lflagss   oss   WXDIRs   SWIGs   adjustLFLAGSs   poss   forces	   VER_MAJORs   swig_cmds	   PLATFORMSs   cflagss   libxml2s   msgs   libdirss   options   AUTHOR_EMAILs   libFlags   build_locale_dirs   renamerTemplateEnds   WXPREFIXs   flags
   MONOLITHICs   newers   USE_SWIGs	   VER_MINORs   PKGDIRs   setups	   WXRELEASEs   fnmatchs   CLASSIFIERSs   EP_ADD_OPTSs   spawns   adjustCFLAGSs   BUILD_IEWINs   wx_extra_cleans
   NO_HEADERSs   UNDEF_NDEBUGs   Verify_WX_CONFIGs   definess   wx_install_headerss   LICENSEs   BuildRenamerss   FINALs   run_swigs   WXPORTs   globs   includess   syss   cleanings   WXPY_SRCs   portcfgs   FOUND_LIBXML2s	   BUILD_STCs   BUILD_ACTIVEXs   DESCRIPTIONs   mkpaths
   NO_SCRIPTSs	   PREP_ONLYs   HYBRIDs	   VER_FLAGSs   wxPythonTemplateStart(    (    sP   /afs/sipb.mit.edu/project/python-lib/src/wxPython-src-2.5.3.1/wxPython/config.pys   ?   s¬  -					

			

F    	"K&	#					



@<
l	:	!	  	
 $5B			
