;ò
ÒUDc           @   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( d Z) d Z* e i+ d j 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 d Z9 d Z: e; a< e; Z= d Z> d Z? d	 Z@ d ZA d ZB d ZC d e e f ZD d ZE d „  ZF d „  ZG d „  ZH d ZI g  ZJ g  ZK g  aL d  e  iM j p d! e  iM j ZN d" e  iM j p d# e  iM j ZO d$ e  iM j ZP e  iQ d  d% j o
 d& Z> n e i+ d j o
 d' Z> n d( ZR xê d) d* d+ d, d- d. d/ d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d: d; d< d= d> d? g D] ZS x” eT eU e  iM ƒ ƒ D]} ZV e  iM eV iW eS ƒ d j oZ e  iM eV iW d@ ƒ d ZX eX d j o/ eY e  iM eV eX ƒ eZ ƒ  eS <d	 e  iM eV <qhqëqëWqÏWxº dA dB dC dD dE dF dG dH dI g	 D]— Z[ xŽ eT eU e  iM ƒ ƒ D]w ZV e  iM eV iW e[ ƒ d j oT e  iM eV iW d@ ƒ d ZX eX d j o) e  iM eV eX eZ ƒ  e[ <d	 e  iM eV <q%q®q®Wq’We\ e; e  iM ƒ e  _M e= e; j o
 t< Z= n dJ e3 e4 e7 e8 e9 e: e= e> eA eB eC f Z] y dK k^ TWny e i_ i` e i_ ia eb ƒ dL ƒ Zc e i_ id ec ƒ o= y* ee ec dM ƒ Zf ef ig e] ƒ ef ih ƒ  WqdN GHqXqn XdO „  Zi g  ej dP „ Zk dQ e il im im f dR „  ƒ  YZn dS e il io io f dT „  ƒ  YZp dU e il iq iq f dV „  ƒ  YZr dW e il is is f dX „  ƒ  YZt d dY „ Zu dZ „  Zv d[ „  Zw d\ „  Zx d] „  Zy d^ „  Zz e{ ej d_ „ Z| e- o4 d Z$ d Z% d Z& d Z' d Z) d Z* d Z, d Z( n eO o d ZB d ZC n eB o
 d ZC n e3 o e> d' d d& g j o e} d` e> ‚ n e@ o e@ g Z@ n g  Z@ e i+ d j oe i~ i da ƒ o e i~ da Z€ n eF db ƒ dc Z€ dd Z d' Z‚ de df eG e€ dg dh d' eH ƒ  ƒ eG e€ de ƒ eG e€ di de ƒ g Zƒ dj e; f dk e; f e e; f dl dm f dn eR f do dm f g Z„ e4 o e„ i… dp f ƒ n eC o e„ i… dq e; f ƒ n eB p eC o e„ i… dr e; f ƒ n eG e€ dg dh ƒ g Z† eA o ex d	 ƒ Z‡ nm ds eD eH ƒ  ds eD eH ƒ  dt ds eD eH ƒ  du ex dv ƒ d ex dw ƒ d ex dx ƒ d ex dy ƒ d g Z‡ e‡ dz d{ d| d} d~ d d€ d d‚ dƒ d„ d… d† d‡ dˆ d‰ g Z‡ dŠ g Zˆ e; Z‰ eB o qMeC o qMn–e i+ d‹ j odc Z€ de df g Zƒ dn eR f dŒ e; f do dm f g Z„ e4 o e„ i… dp f ƒ n ei ƒ  g  Z† g  Z‡ e iŠ t< d dŽ ƒ i‹ ƒ  d  Zˆ eˆ iŒ ƒ  Zˆ eO o eˆ i… d# ƒ eˆ i… d ƒ n eˆ i… d‘ ƒ e iŠ t< d’ dŽ ƒ i‹ ƒ  d  Z‰ e‰ iŒ ƒ  Z‰ e iŠ t< d“ ƒ i‹ ƒ  d  Z e iŠ t< d” ƒ i‹ ƒ  d  ZŽ e iŠ t< d• ƒ i‹ ƒ  d  Z e  iQ d  d% j o
 e> d& j o d– Z d& Z‚ d— g Z‡ d Z5 nÖ e> Z‚ e> d˜ j o& d™ Z e iŠ dš dŽ ƒ i‹ ƒ  d  Z n€ e> d j o: d™ Z d˜ Z‚ e iŠ d› dŽ ƒ i‹ ƒ  d  Z e? dœ e> Z? n9 e> d j o dž Z d	 Z e? dœ e> Z? n e} dŸ e> ‚ eˆ e iŒ ƒ  7Zˆ e† i… d  ƒ ey eˆ e„ eƒ ƒ Zˆ ez e‰ e† e‡ ƒ Z‰ n d¡ ‚ e3 o e? d¢ Z? n e i_ id d£ ƒ o$ e d ee d£ ƒ i‹ ƒ  i‘ ƒ  7Z n d¤ e e e e e f Z’ d	 Z“ eG de e| ƒ  d d¥ d¦ ƒ Z” e i+ d j o eG e e” ƒ Z“ n eG eE e” ƒ Z“ d§ eG eE df ƒ d§ e“ g Z• e0 Z– eN Z— d¨ d© dª d« d¬ d­ d® e g e• Z˜ e3 o e˜ i… d¯ ƒ n e2 o e˜ i… d° ƒ n eG eE d± ƒ eG eE d² ƒ g Z™ g  Zš d  k› Z› d  kœ Zœ y d  k Z e{ Zž Wn eŸ j
 o ej 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   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 upon which it is
supported.
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   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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   libFlagÚ   s    

s   wxs   --forces   -fs   --debugs   -gs   cleans   darwins   macs   msws   _wxPython_tables   BUILD_ACTIVEXs   BUILD_ANIMATEs   BUILD_DLLWIDGETs   BUILD_GIZMOSs   BUILD_GLCANVASs   BUILD_IEWINs	   BUILD_OGLs	   BUILD_STCs	   CORE_ONLYs	   PREP_ONLYs   USE_SWIGs   UNICODEs   UNDEF_NDEBUGs
   NO_SCRIPTSs
   NO_HEADERSs   BUILD_RENAMERSs	   FULL_DOCSs   INSTALL_MULTIVERSIONs   EP_ADD_OPTSs   EP_FULL_VERs
   MONOLITHICs   FINALs   HYBRIDs   =s	   WX_CONFIGs   SYS_WX_CONFIGs   WXDLLVERs
   BUILD_BASEs   WXPORTs   SWIGs   CONTRIBS_INCs   WXPY_SRCs   FLAVOURs›   
UNICODE=%d
UNDEF_NDEBUG=%d
INSTALL_MULTIVERSION=%d
FLAVOUR="%s"
EP_ADD_OPTS=%d
EP_FULL_VER=%d
WX_CONFIG="%s"
WXPORT="%s"
MONOLITHIC=%d
FINAL=%d
HYBRID=%d
(   s   *s   build_options.pys   ws+   WARNING: Unable to create build_options.py.c          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 determines 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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   Verify_WX_CONFIGF  s,      

 )
	c	         C   sJ  | 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 }	 xi|  D]a} 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 | oSxG | D]? } y/ t | | ƒ p t | | ƒ o d
 } Pn Wq¶q¶Xq¶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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   run_swigh  s\     * *  
      	'.
	+&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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   runº  s    (   s   __name__s
   __module__s   __doc__s   run(    (    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   runÅ  s2     
	 (   s   __name__s
   __module__s   __doc__s   run(    (    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   initialize_optionsê  s    (   s   __name__s
   __module__s   __doc__s   initialize_options(    (    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   runü  s    	
 ((   s   __name__s
   __module__s   __doc__s   initialize_optionss   finalize_optionss   run(    (    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   walk_helper   s
     (   s   walk_helpers	   file_lists   oss   paths   walks   srcdir(   s   srcdirs	   file_lists   walk_helper(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   walk_helper.  s      '(   s   walk_helpers	   file_lists   oss   paths   walks   srcdirs	   wildcards(   s   srcdirs	   wildcardss	   file_lists   walk_helper(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   adjustCFLAGSI  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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   getExtraPathm  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_TYPE_TABLEs   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   wxPythons   i_filess   -Is   -c++s   -Walls
   -nodefaults   -pythons	   -new_reprs   -moderns   -Ds   -DwxUSE_UNICODEs   -D_DO_FULL_DOCSs   src/my_typemaps.is   src/pyfragments.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   shutils   copyfiles   reads   unlink(   s   selfs   destdirs   modnames   xmlfiles   wxPythonDirs   pyFiles   swigDests   swigDestTemps   pyDests   dests   temps
   pyDestTemps   swigFile(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.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(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   checkOtherNamesP  s4     
0
" 
(   s   __name__s
   __module__s   runs   GetAttrs
   processXMLs   checkOtherNames(    (    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   BuildRenamersÀ  s   0			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_ANIMATEs   BUILD_DLLWIDGETs   BUILD_IEWINs   names   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   EP_FULL_VERs   Nones	   WX_CONFIGs   SYS_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   WXPYTHON_TYPE_TABLEs   flags   ranges   lens   xs   finds   poss   evals   varss   options   filters   build_options_templates   build_optionss   paths   joins   dirnames   __file__s   build_options_files   existss   opens   myfiles   writes   closes   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   strips   VERSIONs
   wxfilesdirs   i_subdirs   i_files_includess   swig_cmds
   swig_forces	   swig_argss	   swig_depss   dependss   pprints   shutils   libxml2s   FOUND_LIBXML2s   ImportErrors   renamerTemplateStarts   renamerTemplateEnds   wxPythonTemplateStarts   wxPythonTemplateEnds   BuildRenamers(w   s
   WXBASENAMEs   FLAVOURs	   distutilss	   swig_argss   GENDIRs   build_options_templates   getExtraPaths	   swig_depss   BUILD_GIZMOSs   tempfiles   pprints
   BUILD_BASEs   i_subdirs	   BUILD_OGLs   URLs	   copy_files   CONTRIBS_INCs   makeLibNames   VERSIONs   BUILD_RENAMERSs   libss
   swig_forces	   FULL_DOCSs   opjs   find_data_filess
   wxfilesdirs   debugs   xs   WXDLLVERs   wxpExtensionss   VER_RELEASEs   DOWNLOAD_URLs   wxPythonTemplateEnds   build_options_files   KEYWORDSs   wx_smart_install_datas   INSTALL_MULTIVERSIONs   AUTHORs	   CORE_ONLYs   UNICODEs
   DATA_FILESs   LONG_DESCRIPTIONs
   wx_installs	   Extensions   WXPYTHON_TYPE_TABLEs   WXPLATs   BUILD_DLLWIDGETs   build_locale_lists   BUILD_GLCANVASs   renamerTemplateStarts
   VER_SUBRELs   lflagss   oss   i_files_includess   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   DESCRIPTIONs   USE_SWIGs	   VER_MINORs   PKGDIRs   setups   dependss	   WXRELEASEs   myfiles   fnmatchs   CLASSIFIERSs   EP_ADD_OPTSs   spawns   adjustCFLAGSs   BUILD_IEWINs   wx_extra_cleans
   NO_HEADERSs   UNDEF_NDEBUGs   shutils   Verify_WX_CONFIGs   definess   wx_install_headerss   LICENSEs   EP_FULL_VERs   BuildRenamerss   FINALs   run_swigs   WXPORTs   globs   includess   syss   cleanings   WXPY_SRCs   portcfgs   FOUND_LIBXML2s	   BUILD_STCs   BUILD_ACTIVEXs   SYS_WX_CONFIGs   mkpaths
   NO_SCRIPTSs	   PREP_ONLYs   HYBRIDs   BUILD_ANIMATEs	   VER_FLAGSs   wxPythonTemplateStart(    (    sA   /home/packages/tmp/wx/wxwidgets2.6-2.6.3.2.1.1/wxPython/config.pys   ?   sÜ  -					
	
			

L  "  
+!	"P&	#					



@<
l	:	!
  !	
 $#		
