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 :  /proc/22697/root/usr/lib64/python2.4/distutils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/22697/root/usr/lib64/python2.4/distutils/sysconfig.pyc
mò
æXíPc@s‹dZdZdkZdkZdkZdkZdklZeii	ei
ƒZeii	eiƒZ
eiieiieiƒƒZeiieddƒZeiieƒZ[[d„Zddd„Zdddd	„Zd
„Zd„Zd„Zdd
„ZeidƒZeidƒZ eidƒZ!dd„Z"d„Z#da$d„Z%d„Z&d„Z'd„Z(d„Z)d„Z*dS(sProvide access to Python's configuration information.  The specific
configuration variables available depend heavily on the platform and
configuration.  The values may be retrieved using
get_config_var(name), and the list of variables is available via
get_config_vars().keys().  Additional convenience functions are also
available.

Written by:   Fred L. Drake, Jr.
Email:        <fdrake@acm.org>
s9$Id: sysconfig.py 38201 2005-01-06 23:16:03Z jackjansen $N(sDistutilsPlatformErrortModulestSetupcCstid S(s–Return a string containing the major and minor Python version,
    leaving off the patchlevel.  Sample return values could be '1.5'
    or '2.2'.
    iN(tsystversion(((t+/usr/lib64/python2.4/distutils/sysconfig.pytget_python_version%sicCs•|djo|otpt}ntidjo³to‡tii	tii
tiƒƒ}|o
|}nNtii|dƒ}tii|ƒp%tiitii	|ƒdƒ}n|Sntii|ddtid ƒSnªtidjotii|dƒSnƒtidjo8|otii|ddƒSq‘tii|dƒSn;tid	jotii|dƒSntd
tiƒ‚dS(sšReturn the directory containing installed Python header files.

    If 'plat_specific' is false (the default), this is the path to the
    non-platform-specific header files, i.e. Python.h and so on;
    otherwise, this is the path to platform-specific header files
    (namely pyconfig.h).

    If 'prefix' is supplied, use it instead of sys.prefix or
    sys.exec_prefix -- i.e., ignore 'plat_specific'.
    tposixtIncludetincludetpythonitnttmactMactos2sFI don't know where Python installs its C header files on platform '%s'N(tprefixtNonet
plat_specifictEXEC_PREFIXtPREFIXtostnametpython_buildtpathtdirnametabspathRt
executabletbasetinc_dirtjointexistsRtDistutilsPlatformError(RRRR((Rtget_python_inc-s,

!
%%cCsá|d
jo|otpt}ntidjoc|p|o
d}nd}ti	i
||dtƒƒ}|o|SqÝti	i
|dƒSnFtidjoP|oti	i
|dƒSqÝt
idjo|SqÝti	i
tddƒSnætid	joz|o;|oti	i
|dd
ƒSq~ti	i
|ddƒSqÝ|oti	i
|dƒSqÝti	i
|ddƒSn\tidjo8|oti	i
tdƒSqÝti	i
tddƒSntdtiƒ‚d
S(sIReturn the directory containing the Python library (standard or
    site additions).

    If 'plat_specific' is true, return the directory containing
    platform-specific modules, i.e. any module from a non-pure-Python
    module distribution; otherwise, return the platform-shared library
    directory.  If 'standard_lib' is true, return the directory
    containing standard Python library modules; otherwise, return the
    directory for site-specific modules.

    If 'prefix' is supplied, use it instead of sys.prefix or
    sys.exec_prefix -- i.e., ignore 'plat_specific'.
    Rtlib64tlibR	s
site-packagesR
tLibs2.2Rslib-dynloadR
s?I don't know where Python installs its library on platform '%s'N(RRRRRRRtstandard_libR!RRRt	libpythonRRR(RR#RR!R$((Rtget_python_libTs>


c

Cs|idjoútdddddddƒ\}}}}}	}}t
iidƒot
id}nt
iidƒot
id}nt
iidƒot
id}nt
iid	ƒot
id	}n|d
}t
iidƒo|dt
id}n|o|d|}nt
iid
ƒo.|dt
id
}|dt
id
}nt
iidƒoC|dt
id}|dt
id}|dt
id}n|d|}|id|d|d|d|	d|d|d|ƒ||_ndS(sÄDo any platform-specific customization of a CCompiler instance.

    Mainly needed on Unix, so we can plug in the information that
    varies across Unices and is stored in Python's Makefile.
    tunixtCCtCXXtOPTt
BASECFLAGStCCSHAREDtLDSHAREDtSOtCPPs -EtLDFLAGSt tCFLAGStCPPFLAGStpreprocessortcompilertcompiler_sotcompiler_cxxt	linker_sot
linker_exeN(R4t
compiler_typetget_config_varstcctcxxtoptt
basecflagstccsharedtldsharedtso_extRtenvironthas_keytcpptcc_cmdtset_executablestshared_lib_extension(
R4R=RER>R;R<RDR@RAR?((Rtcustomize_compiler’s>3

cCsVto
ti}ntddƒ}tidjo
d}nd}tii	||ƒS(s2Return full pathname of installed pyconfig.h file.Ris2.2sconfig.hs
pyconfig-64.hN(
RRtcurdirRRRRtconfig_hRR(RRJ((Rtget_config_h_filename¾s

cCsXto&tiitiitiƒdƒSntddddƒ}tii|ddƒS(sAReturn full pathname of installed Makefile from the Python build.tMakefileRiR#tconfigN(	RRRRRRRR%tlib_dir(RN((Rtget_makefile_filenameÌs
&cCsè|djo
h}ntidƒ}tidƒ}x¬|iƒ}|pPn|i	|ƒ}|oL|iddƒ\}}yt|ƒ}Wntj
onX|||<q8|i	|ƒ}|od||idƒ<q8q8W|S(sÌParse a config.h-style file.

    A dictionary containing name/value pairs is returned.  If an
    optional dictionary is passed in as the second argument, it is
    used instead of a new dictionary.
    s#define ([A-Z][A-Z0-9_]+) (.*)
s#/[*] #undef ([A-Z][A-Z0-9_]+) [*]/
iiiN(tgRtretcompilet	define_rxtundef_rxtfptreadlinetlinetmatchtmtgrouptntvtintt
ValueError(RURPRYRTR[R\RWRS((Rtparse_config_hÔs,

s"([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)s\$\(([A-Za-z][A-Za-z0-9_]*)\)s\${([A-Za-z][A-Za-z0-9_]*)}c
CsÝdkl}||ddddddƒ}|d	jo
h}nh}h}	x¯|iƒ}
|
d	joPnt
i|
ƒ}|ov|i
ddƒ\}}ti|ƒ}d|jo||	|<qûyt|ƒ}Wntj
onX|||<qQqQWx¿|	o·x°|	iƒD]¢}|	|}ti|ƒp
ti|ƒ}|oe|i
dƒ}|i|ƒo›||iƒ}||iƒ t||ƒ|}d|jo||	|<q®yt|ƒ}Wn&tj
oti|ƒ||<nX|||<|	|=q¹|	i|ƒoq¹d||<||iƒ}||iƒ |}d|jo||	|<q¹yt|ƒ}Wn&tj
oti|ƒ||<nX|||<|	|=q|	|=qWqW|iƒ|i |ƒ|S(
sÌParse a Makefile-style file.

    A dictionary containing name/value pairs is returned.  If an
    optional dictionary is passed in as the second argument, it is
    used instead of a new dictionary.
    (sTextFiletstrip_commentsitskip_blankst
join_linesit$tN(!tdistutils.text_filetTextFiletfnRURPRtdonetnotdoneRVRWt_variable_rxRXRYRZR[R\tstringtstripR]R^tkeysRtvaluet_findvar1_rxtsearcht_findvar2_rxRCtendtaftertstarttstrtclosetupdate(
RgRPRURsRYRnR[RhR\RiRWRfR((Rtparse_makefile÷sv






"






cCstxmti|ƒp
ti|ƒ}|oA|iƒ\}}|d|!|i	|i
dƒƒ||}qPqW|S(s¨Expand Makefile-style variables -- "${foo}" or "$(foo)" -- in
    'string' according to 'vars' (a dictionary mapping variable names to
    values).  Variables not present in 'vars' are silently expanded to the
    empty string.  The variable values in 'vars' should not contain further
    variable expansions; if 'vars' is the output of 'parse_makefile()',
    you're fine.  Returns a variable-expanded version of 's'.
    iiN(RoRptsRqRYtspantbegRrtvarstgetRZ(RyR|RrRYR{((Rtexpand_makefile_varsCs/cCs1h}	ytƒ}t||	ƒWnPtj
oD}d|}t|dƒo|d|i}nt	|ƒ‚nXt
idjo„|	idƒot|	d}
tiddƒ}|djo|
}tid|
ƒn|
|jo d||
f}t	|ƒ‚qnto|	d	|	d
<nt
idjo÷t
idjo^td
dƒ}tii|ddƒ}tii|ddƒ}d||	d|f|	d
<q't
idjoutd
dƒ}ti|	d
ƒd}tii|ƒ}tii|d|ƒ}d|t t
idd!f|	d
<q'n|	a!dS(s7Initialize the module as appropriate for POSIX systems.s.invalid Python installation: unable to open %ststrerrors (%s)tdarwint"CONFIGURE_MACOSX_DEPLOYMENT_TARGETtMACOSX_DEPLOYMENT_TARGETRdsF$MACOSX_DEPLOYMENT_TARGET mismatch: now "%s" but "%s" during configuret	BLDSHAREDR,s2.1taix4R#iRMt	ld_so_aixs
python.exps%s %s -bI:%sR'tbeosis%s -L%s/lib -lpython%siN("RPROtfilenameRxtIOErrortmsgtmy_msgthasattrRRRtplatformRCt
cfg_targetRtgetenvt
cur_targettputenvRRR%t
python_libRRR…t
python_expRktsplittlinkerscript_pathtbasenametlinkerscript_nametlinkerscriptRt_config_vars(RR—R‡R‰RŠR…R”R‘R–RPRR’((Rt_init_posix^sH	
 


	)cCsih}tddddƒ|d<tddddƒ|d<tddƒ|d<d|d	<d
|d<|adS(
s+Initialize the module as appropriate for NTRiR#itLIBDESTt
BINLIBDESTt	INCLUDEPYs.pydR-s.exetEXEN(RPR%RR˜(RP((Rt_init_nt¢s

cCsÌh}tddddƒ|d<tddddƒ|d<tddƒ|d<dk}t|d	ƒpd
|d<nd|i|d<tiit	d
ƒ|d<tiit	dd
ƒ|d<d|d<|a
dS(s:Initialize the module as appropriate for Macintosh systemsRiR#iRšR›RœNtruntimemodels.ppc.slbR-s.%s.slbR"tinstall_libRtinstall_platlibt:tsrcdir(RPR%RtMacOSR‹RŸRRRRR˜(R¤RP((Rt	_init_mac³s	
cCsih}tddddƒ|d<tddddƒ|d<tddƒ|d<d|d	<d
|d<|adS(
s-Initialize the module as appropriate for OS/2RiR#iRšR›Rœs.pydR-s.exeRN(RPR%RR˜(RP((Rt	_init_os2Ís

cGsštdjoItƒidtiƒ}|o|ƒnhattd<ttd<n|o5g}x$|D]}|iti|ƒƒqjW|SntSdS(sêWith no arguments, return a dictionary of all configuration
    variables relevant for the current platform.  Generally this includes
    everything needed to build extensions and install both pure modules and
    extensions.  On Unix, this means every variable defined in Python's
    installed Makefile; on Windows and Mac OS it's a much smaller set.

    With arguments, return a list of values that result from looking up
    each argument in the configuration variable dictionary.
    t_init_Rtexec_prefixN(R˜RtglobalsR}RRtfuncRRtargstvalstappend(R«RRªR¬((RR:Þs 	

cCstƒi|ƒS(s“Return the value of a single variable using the dictionary
    returned by 'get_config_vars()'.  Equivalent to
    get_config_vars().get(name)
    N(R:R}R(R((Rtget_config_varþs(+t__doc__t__revision__RRQRkRterrorsRRtnormpathRRR¨RRRRt
argv0_pathRtlandmarktisfileRRRRR%RHRKROR_RRRjRoRqRxR~R˜R™RžR¥R¦R:R®(R®RRR:R³RHR°RQRRR~RKR™RRjRkRxRR_RžRoRORqR¥RR¦R´RR%((Rt?
s>				
!	'>	,		L		D				 

Anon7 - 2021