KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/lib64/python2.4/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.4/site.pyc
mò
‚=5Dc@sdZdkZdkZdkZd„Zd„Zd„Zd„Zd„Zd„Z	dd„Zd	„Zd
„Z
d„Zdefd
„ƒYZd„Zdefd„ƒYZd„Zd„Zd„Zd„Zd„Zeƒd„ZedjoeƒndS(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.

NcGs4tiitii|Œƒ}|tii|ƒfS(N(tostpathtabspathtjointpathstdirtnormcase(RR((t/usr/lib64/python2.4/site.pytmakepathAscCsSxLtiiƒD];}ytii|iƒ|_Wqtj
o
qqXqWdS(s6Set all module' __file__ attribute to an absolute pathN(	tsystmodulestvaluestmRRRt__file__tAttributeError(R((Rtabs__file__EscCsng}tƒ}xNtiD]C}t|ƒ\}}||jo|i|ƒ|i	|ƒqqW|ti(|S(sK Remove duplicate entries from sys.path along with making them
    absoluteN(
tLtsettknown_pathsR	RRRtdircasetappendtadd(RRRR((RtremoveduppathsMs	



cCs_dkl}d|ƒtif}tiitiitidƒ|ƒ}tii	|ƒdS(sbAppend ./build/lib.<platform> in case we're running in the build dir
    (especially for Guido :-)(sget_platformsbuild/lib.%s-%.3siÿÿÿÿN(
tdistutils.utiltget_platformR	tversiontsRRRtdirnameR(RR((Rtaddbuilddiras

(cCsttƒ}xdtiD]Y}y:tii|ƒo#t|ƒ\}}|i	|ƒnWqt
j
o
qqXqW|S(sDReturn a set containing all existing directory entries from sys.pathN(RtdR	RRRtisdirRRRt	TypeError(RRR((Rt_init_pathinfois	
c	Bs6|djoeƒd}nd}eii||ƒ}ye
|dƒ}Wnej
odSnXz­x¦|D]ž}|idƒoqpn|idƒo|dUqpn|iƒ}e||ƒ\}}||jo4eii|ƒo!eii|ƒ|i|ƒqpqpWWd|iƒX|o
d}n|S(soAdd a new path to known_paths by combining sitedir and 'name' or execute
    sitedir if it starts with 'import'iitrUNt#timport(RtNoneR tresetRRRtsitedirtnametfullnametopentftIOErrortlinet
startswithtrstripRRRtexistsR	RRtclose(	R&R'RR%R*RR(R,R((Rt
addpackageus8

	 
cCsä|djotƒ}d}nd}t|ƒ\}}||jotii	|ƒnyt
i|ƒ}Wnt
i
j
odSnX|iƒx9|D]1}|it
idƒot|||ƒqšqšW|o
d}n|S(sTAdd 'sitedir' argument to sys.path if missing and handle .pth files in
    'sitedir'iiNtpth(RR$R R%RR&tsitedircaseR	RRRtlistdirtnamesterrortsortR'tendswithtextsepR1(R&RR%R'R5R3((Rt
addsitedir”s(
	

	

cCsÍtig}titijo|itiƒnx“|D]‹}|o~tidjotii|ddƒg}n©ti
djoztii|ddtid dƒtii|d	dtid dƒtii|dd
ƒtii|d	d
ƒg}n|tii|d	dƒg}tidjo^d|joMtii
d
ƒ}|o0|itii|ddtid dƒƒqˆqŒnx6|D]*}tii|ƒot||ƒq“q“Wq:q:WdS(s8Add site-packages (and possibly site-python) to sys.pathtos2emxtriscostLibs
site-packagest/tlib64tpythonitlibssite-pythontdarwinsPython.frameworktHOMEtLibrarytPythonN(sos2emxsriscos(R	tprefixtprefixestexec_prefixRtplatformRRRtsitedirstsepRtenvirontgetthomeR&RR:RR$(RR&RGRJRFRN((Rtaddsitepackages«s@:

cCsqtiitiddƒ}tididƒ}|do|i	|ƒn||d<di|ƒtid<dS(sEThe OS/2 EMX port has optional extension modules that do double duty
    as DLLs (and must use the .DLL file extension) for other extensions.
    The library search path needs to be amended so these will be found
    during module import.  Use BEGINLIBPATH so that these are at the start
    of the library search path.

    R=slib-dynloadtBEGINLIBPATHt;iÿÿÿÿN(
RRRR	RFtdllpathRLtsplittlibpathR(RRRT((RtsetBEGINLIBPATHÔs
cCsNtidjo
d}n!tidjo
d}nd}|t_t_dS(snDefine new built-ins 'quit' and 'exit'.
    These are simply strings that display a hint on how to exit.

    t:sUse Cmd-Q to quit.s\sUse Ctrl-Z plus Return to exit.sUse Ctrl-D (i.e. EOF) to exit.N(RRKtexitt__builtin__tquit(RW((Rtsetquitås

t_PrintercBs>tZdZdZffd„Zd„Zd„Zd„ZRS(sninteractive prompt objects for printing the license text, a list of
    contributors and the copyright notice.icCs1||_||_||_||_d|_
dS(N(R'tselft_Printer__nametdatat_Printer__datatfilest_Printer__filestdirst_Printer__dirsR$t_Printer__lines(R\R'R^R`Rb((Rt__init__ùs
				cCsÝ|iodSnd}x†|iD]{}xf|iD][}ti	i
||ƒ}y*t|dƒ}|i
ƒ}|iƒPWq2tj
oq2Xq2W|oPq"q"W|p
|i}n|idƒ|_t|iƒ|_dS(NR!s
(R\RdR$R^RcRRatfilenameRRRtfiletfptreadR0R+R_RStlent_Printer__linecnt(R\RhR^RfR((Rt__setups*



		
cCsM|iƒt|iƒ|ijodi|iƒSnd|ifdSdS(Ns
s!Type %s() to see the full %s texti(R\t_Printer__setupRjRdtMAXLINESRR](R\((Rt__repr__s
cCsÇ|iƒd}d}xªy1x*t|||iƒD]}|i|GHq3WWntj
oPqX||i7}d}x5|djo't|ƒ}|djo
d}qwqwW|djoPqqWdS(Ns0Hit Return for more, or q (and Return) to quit: iittq(RpRq(R\RmtprompttlinenotrangeRntiRdt
IndexErrorR$tkeyt	raw_input(R\RuRsRwRr((Rt__call__s(




(t__name__t
__module__t__doc__RnReRmRoRy(((RR[ós		cCs­tdtiƒt_tid djotddƒt_ntddƒt_tiiti	ƒ}tddtid	d
gtii|ti
ƒ|tigƒt_dS(s,Set 'copyright' and 'credits' in __builtin__t	copyrightitjavatcreditss?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.tlicenses+See http://www.python.org/%.3s/license.htmlsLICENSE.txttLICENSEN(R[R	R}RXRIRRRRR
thereRRtpardirtcurdirR€(R‚((Rtsetcopyright0s	t_HelpercBs tZdZd„Zd„ZRS(sYDefine the built-in 'help'.
    This is a wrapper around pydoc.help (with a twist).

    cCsdS(NsHType help() for interactive help, or help(object) for help about object.((R\((RRoHscOsdk}|i||ŽS(N(tpydocthelptargstkwds(R\R‰RŠR‡((RRyKs	(RzR{R|RoRy(((RR†Bs	cCstƒt_dS(N(R†RXRˆ(((Rt	sethelperOscCsžtidjoŠdk}dk}|iƒd}|idƒoTy|i|ƒWq–tj
o0dk	}|i
|i|<d|ii|<q–XqšndS(s·On Windows, some default encodings are not provided by Python,
    while they are always available as "mbcs" in each locale. Make
    them usable by aliasing to "mbcs" in such a case.twin32Nitcptmbcs(
R	RItlocaletcodecstgetdefaultlocaletencR-tlookuptLookupErrort	encodingst_unknownt_cachetaliases(R’RRR•((Rt	aliasmbcsRs	cCs(d}|djoti|ƒndS(s–Set the string encoding used by the Unicode implementation.  The
    default is 'ascii', but if you're willing to experiment, you can
    change this.tasciiN(tencodingR	tsetdefaultencoding(R›((Rtsetencodingas
cCs'y
dk}Wntj
onXdS(s,Run custom site specific code, if available.N(t
sitecustomizetImportError(Rž((Rtexecsitecustomizeus

cCsÄtƒtƒ}tidjo5tio+tiitidƒdjotƒnt	|ƒ}ti
djotƒntƒt
ƒtƒtƒtƒtƒttdƒo
t`ndS(NtposixiÿÿÿÿtModulesR;Rœ(RRtpaths_in_sysRR'R	RtbasenameRRORIRURZR…R‹R™RR thasattrRœ(R£((Rtmain}s	:cCs.dGHxtiD]}d|fGHqWdGHdS(Nssys.path = [s    %r,t](R	RR(R((Rt_test”s

t__main__(R|R	RRXRRRRR R1R$R:RORURZtobjectR[R…R†R‹R™RR R¦R¨Rz(RR‹R RXR:R1RZR…ROR[RUR RR¦R¨R†RRR	R™RR((Rt?:s2										)		=	
						


Anon7 - 2021