;ò
ñŒü?c           @   s  d  Z  d k Z d k Z d „  Z xM e i i ƒ  D]< Z e e d ƒ o e i o e i	 i
 e i ƒ e _ q1 q1 W[ g  Z h  a e Z Z xL e i	 D]A Z e e ƒ \ Z Z e t j o e i e ƒ d t e <q” q” We e i	 ([ [ [ e i d j o' e i	 o e i	 i e i	 d ƒ d j oe d k l Z d	 e ƒ  e i f Z e i	 i e i	 i e i	 d ƒ e ƒ Z e i	 i e ƒ [ [ n d
 „  Z d „  Z d „  Z e i g Z e Z e i e i j o e i e i ƒ n x^e D]VZ e oIe i  d d f j o e i	 i e d d ƒ g Z! nq e i" d j oB e i	 i e d d e i d  d ƒ e i	 i e d d ƒ g Z! n e e i	 i e d d ƒ g Z! e i  d j o^ d e j oM e i# i$ d ƒ Z% e% o0 e! i e i	 i e% d d e i d  d ƒ ƒ qqn x3 e! D]' Z e i	 i& e ƒ o e e ƒ qqWqæqæW[ [ e a e i  d j oq e i	 i e i d d ƒ Z' e i# d i( d ƒ Z) e) d o e) i e' ƒ n e' e) d <d i e) ƒ e i# d <n e i" d j o
 d Z* n! e i" d  j o
 d! Z* n d" Z* d k+ Z+ e* e+ _, e+ _* [* d# f  d$ „  ƒ  YZ- e- d% e i. ƒ e+ _. e i  d&  d' j o e- d( d) ƒ e+ _/ n e- d( d* ƒ e+ _/ e i	 i e i ƒ Z0 e- d+ d, e i d- d. g e i	 i e0 e i1 ƒ e0 e i2 g ƒ e+ _3 d/ f  d0 „  ƒ  YZ4 e4 ƒ  e+ _5 e i  d1 j oŠ d k6 Z6 d k7 Z7 e6 i8 ƒ  d Z9 e9 i: d2 ƒ oT y e7 i; e9 ƒ Wq”e< j
 o0 d k= Z= e= i> e= i? e9 <d3 e= i@ i@ e9 <q”Xq˜n d4 ZA eA d4 j o e iB eA ƒ n y d kC ZC Wn eD j
 o n Xe e d5 ƒ o
 e `B n d6 „  ZE eF d7 j o eE ƒ  n d S(8   s@	  Append module search paths for third-party packages to sys.path.

****************************************************************
* This module is automatically imported during initialization. *
****************************************************************

In earlier versions of Python (up to 1.5a3), scripts or modules that
needed to use site-specific modules would place ``import site''
somewhere near the top of their code.  Because of the automatic
import, this is no longer necessary (but code that does it still
works).

This will append site-specific paths to the module search path.  On
Unix, it starts with sys.prefix and sys.exec_prefix (if different) and
appends lib/python<version>/site-packages as well as lib/site-python.
On other platforms (mainly Mac and Windows), it uses just sys.prefix
(and sys.exec_prefix, if different, but this is unlikely).  The
resulting directories, if they exist, are appended to sys.path, and
also inspected for path configuration files.

A path configuration file is a file whose name has the form
<package>.pth; its contents are additional directories (one per line)
to be added to sys.path.  Non-existing directories (or
non-directories) are never added to sys.path; no directory is added to
sys.path more than once.  Blank lines and lines beginning with
'#' are skipped. Lines starting with 'import' are executed.

For example, suppose sys.prefix and sys.exec_prefix are set to
/usr/local and there is a directory /usr/local/lib/python1.5/site-packages
with three subdirectories, foo, bar and spam, and two path
configuration files, foo.pth and bar.pth.  Assume foo.pth contains the
following:

  # foo package configuration
  foo
  bar
  bletch

and bar.pth contains:

  # bar package configuration
  bar

Then the following directories are added to sys.path, in this order:

  /usr/local/lib/python1.5/site-packages/bar
  /usr/local/lib/python1.5/site-packages/foo

Note that bletch is omitted because it doesn't exist; bar precedes foo
because bar.pth comes alphabetically before foo.pth; and spam is
omitted because it is not mentioned in either path configuration file.

After these path manipulations, an attempt is made to import a module
named sitecustomize, which can perform arbitrary additional
site-specific customizations.  If this import fails with an
ImportError exception, it is silently ignored.

Nc          G   s8   t  i i t  i i |  Œ  ƒ } | t  i i | ƒ f Sd  S(   N(   s   oss   paths   abspaths   joins   pathss   dirs   normcase(   s   pathss   dir(    (    s!   /mit/python/lib/python2.3/site.pys   makepath?   s    s   __file__i   s   posixiÿÿÿÿs   Modules(   s   get_platforms   build/lib.%s-%.3sc          C   s`   h  a  }  xO t i D]D } | o t i i | ƒ o q n t | ƒ \ } } d |  | <q Wd  S(   Ni   (	   s   _dirs_in_sys_paths   ds   syss   paths   dirs   oss   isdirs   makepaths   dircase(   s   ds   dircases   dir(    (    s!   /mit/python/lib/python2.3/site.pys   _init_pathinfod   s     

 c         C   sá   t  t j o t ƒ  d } n d } t |  ƒ \ }  } | t  j o t i i	 |  ƒ n y t
 i |  ƒ } Wn t
 i j
 o d  Sn X| i ƒ  x7 | D]/ } | d t
 i d j o t |  | ƒ q™ q™ W| o
 t a  n d  S(   Ni   i    iüÿÿÿs   pth(   s   _dirs_in_sys_paths   Nones   _init_pathinfos   resets   makepaths   sitedirs   sitedircases   syss   paths   appends   oss   listdirs   namess   errors   sorts   names   extseps
   addpackage(   s   sitedirs   resets   names   namess   sitedircase(    (    s!   /mit/python/lib/python2.3/site.pys
   addsitedirm   s&     
	
 c         B   sJ  t  e j o e ƒ  d } n d } e i i |  | ƒ } y e
 | ƒ } Wn e j
 o d  Sn XxÏ n oÇ | i ƒ  } | o Pn | d d j o qm n | i d ƒ o | d  Uqm n | d d j o | d  } n e |  | ƒ \ } } | t  j o e i i | ƒ o e i i | ƒ d t  | <qf qm W| o
 e a  n d  S(   Ni   i    s   #s   importiÿÿÿÿs   
(   s   _dirs_in_sys_paths   Nones   _init_pathinfos   resets   oss   paths   joins   sitedirs   names   fullnames   opens   fs   IOErrors   readlines   dirs
   startswiths   makepaths   dircases   existss   syss   append(   s   sitedirs   names   resets   fs   dircases   fullnames   dir(    (    s!   /mit/python/lib/python2.3/site.pys
   addpackage‚   s8     
	 !s   os2emxs   riscoss   Libs   site-packagess   /s   libs   pythoni   s   site-pythons   darwins   Python.frameworks   HOMEs   Librarys   Pythons   lib-dynloads   BEGINLIBPATHs   ;s   :s   Use Cmd-Q to quit.s   \s   Use Ctrl-Z plus Return to exit.s   Use Ctrl-D (i.e. EOF) to exit.s   _Printerc           B   s8   t  Z d Z f  f  d „ Z d „  Z d „  Z d „  Z RS(   Ni   c         C   s1   | |  _ | |  _ | |  _ | |  _ t	 |  _
 d  S(   N(   s   names   selfs   _Printer__names   datas   _Printer__datas   filess   _Printer__filess   dirss   _Printer__dirss   Nones   _Printer__lines(   s   selfs   names   datas   filess   dirs(    (    s!   /mit/python/lib/python2.3/site.pys   __init__å   s
    				c         C   sÛ   |  i o d  Sn t } xƒ |  i D]x } xc |  i D]X } t i	 i
 | | ƒ } y' t | ƒ } | i ƒ  } | i ƒ  PWq2 t j
 o q2 Xq2 W| o Pq" q" W| o |  i } n | i d ƒ |  _ t |  i ƒ |  _ d  S(   Ns   
(   s   selfs   _Printer__liness   Nones   datas   _Printer__dirss   dirs   _Printer__filess   files   oss   paths   joins   opens   fps   reads   closes   IOErrors   _Printer__datas   splits   lens   _Printer__linecnt(   s   selfs   fps   datas   files   dir(    (    s!   /mit/python/lib/python2.3/site.pys   __setupì   s*    

 
 
		c         C   sM   |  i ƒ  t |  i ƒ |  i j o d i |  i ƒ Sn d |  i f d Sd  S(   Ns   
s!   Type %s() to see the full %s texti   (   s   selfs   _Printer__setups   lens   _Printer__liness   MAXLINESs   joins   _Printer__name(   s   self(    (    s!   /mit/python/lib/python2.3/site.pys   __repr__  s    
c         C   sÔ   |  i ƒ  d } d } x· n o¯ y1 x* t | | |  i ƒ D] } |  i | GHq: WWn t j
 o Pq X| |  i 7} t	 } x; | t	 j o- t | ƒ } | d d f j o
 t	 } q~ q~ W| d j o Pq q  Wd  S(   Ns0   Hit Return for more, or q (and Return) to quit: i    i   s    s   q(   s   selfs   _Printer__setups   prompts   linenos   ranges   MAXLINESs   is   _Printer__liness
   IndexErrors   Nones   keys	   raw_input(   s   selfs   is   linenos   keys   prompt(    (    s!   /mit/python/lib/python2.3/site.pys   __call__  s(    
   (   s   __name__s
   __module__s   MAXLINESs   __init__s   _Printer__setups   __repr__s   __call__(    (    (    s!   /mit/python/lib/python2.3/site.pys   _Printerâ   s
   		s	   copyrighti   s   javas   creditss?   Jython is maintained by the Jython developers (www.jython.org).s–   Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
for supporting Python development.  See www.python.org for more information.s   licenses+   See http://www.python.org/%.3s/license.htmls   LICENSE.txts   LICENSEs   _Helperc           B   s   t  Z d „  Z d „  Z RS(   Nc         C   s   d Sd  S(   NsH   Type help() for interactive help, or help(object) for help about object.(    (   s   self(    (    s!   /mit/python/lib/python2.3/site.pys   __repr__0  s    c         O   s   d  k  } | i | | Ž  Sd  S(   N(   s   pydocs   helps   argss   kwds(   s   selfs   argss   kwdss   pydoc(    (    s!   /mit/python/lib/python2.3/site.pys   __call__3  s    	(   s   __name__s
   __module__s   __repr__s   __call__(    (    (    s!   /mit/python/lib/python2.3/site.pys   _Helper/  s   	s   win32s   cps   mbcss   asciis   setdefaultencodingc          C   s,   d GHx t  i D] }  d |  GHq Wd GHd  S(   Ns   sys.path = [s       %s,s   ](   s   syss   paths   dir(   s   dir(    (    s!   /mit/python/lib/python2.3/site.pys   _testp  s
    
 s   __main__(G   s   __doc__s   syss   oss   makepaths   moduless   valuess   ms   hasattrs   __file__s   paths   abspaths   Ls   _dirs_in_sys_paths   Nones   dirs   dircases   appends   names   basenames   distutils.utils   get_platforms   versions   ss   joins   dirnames   _init_pathinfos
   addsitedirs
   addpackages   prefixs   prefixess   sitedirs   exec_prefixs   platforms   sitedirss   seps   environs   gets   homes   isdirs   dllpaths   splits   libpaths   exits   __builtin__s   quits   _Printers	   copyrights   creditss   heres   pardirs   curdirs   licenses   _Helpers   helps   locales   codecss   getdefaultlocales   encs
   startswiths   lookups   LookupErrors	   encodingss   _unknowns   _caches   aliasess   encodings   setdefaultencodings   sitecustomizes   ImportErrors   _tests   __name__(   s   encodings   locales   _tests   __builtin__s
   addsitedirs   sitedirss   prefixs	   encodingss   homes   encs   _Printers   dllpaths   libpaths   prefixess   exits   _Helpers   sitedirs   _init_pathinfos   Ls   dircases   syss   heres   get_platforms   codecss   sitecustomizes
   addpackages   makepaths   ms   ss   oss   dir(    (    s!   /mit/python/lib/python2.3/site.pys   ?:   sÚ   	  

 
	:(
				 %
 


	:	*	  
	