N
øųO5c       s    d  Z  : < k Z k Z > d   Z K d   Z ] e i g Z ^ e i e i j o _ e i e i  n ` xÅ e d ` rļ Z a e oĻ b e i	 d j oE c e i
 i e d d e i d  d  e i
 i e d d	  g Z n i e g Z j x: e d j r- Z k e i
 i e  o l e e  n qþ Wn q{ Wn y o k Z Wn p e j
 o
 q n Xs d
   Z y e d j o z e   n d S(   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 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
\code{#} are skipped.

For example, suppose sys.prefix and sys.exec_prefix are set to
/usr/local and there is a directory /usr/local/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.

c    sÔ   > ? |  t i j o @ t i i |   n A y B t i |   } Wn  C t i j
 o D d  Sn XE t t i i	 |  } F | i
   G x< | d G r/ } H | d d j o I t |  |  n q Wd  S(   Ni    i   s   .pth(   s   sitedirs   syss   paths   appends   oss   listdirs   namess   errors   maps   normcases   sorts   names
   addpackage(   s   sitedirs   namess   names.   /var/tmp/python-root/usr/lib/python1.5/site.pys
   addsitedir> s    	c    s&  K L t  i i |  |  } M y N t |  } Wn O t j
 o P d  Sn XQ xË Q d oĀ R | i	   } S | o T Pn U | d d j o
 V qW n W | d d j o X | d  } n Y t  i i |  |  } Z | t i j o t  i i |  o [ t i i |  n qW Wd  S(   Ni   i    s   #s   
(   s   oss   paths   joins   sitedirs   names   fullnames   opens   fs   IOErrors   readlines   dirs   syss   existss   append(   s   sitedirs   names   fullnames   fs   dirs.   /var/tmp/python-root/usr/lib/python1.5/site.pys
   addpackageK s"    

&i    s   /s   libs   pythoni   s   site-packagess   site-pythonc     s@   s t d GHu x# t  i d u r }  v d |  GHq Ww d GHd  S(   Ns   sys.path = [i    s       %s,s   ](   s   syss   paths   dir(   s   dirs.   /var/tmp/python-root/usr/lib/python1.5/site.pys   _tests s
    	s   __main__N(   s   __doc__s   syss   oss
   addsitedirs
   addpackages   prefixs   prefixess   exec_prefixs   appends   seps   paths   joins   versions   sitedirss   sitedirs   isdirs   sitecustomizes   ImportErrors   _tests   __name__(    s.   /var/tmp/python-root/usr/lib/python1.5/site.pys   ?: s.    	
E 	