Your IP : 18.116.24.238


Current Path : /opt/alt/python33/lib64/python3.3/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/__pycache__/sysconfig.cpython-33.pyo

�
��fVbc@sDdZddlZddlZddlZddlmZmZdddddd	d
ddd
dgZiidd6dd6dd6dd6dd6dd6dd6dd6d6id d6d!d6d!d6d!d6d"d6d"d6dd6dd6d#6id$d6d%d6d&d6d&d6d'd6d'd6d(d6dd6d)6id$d6d%d6d&d6d&d6d'd6d'd6d(d6dd6d*6id+d6d+d6d,d6d,d6d-d6d.d6d/d6d06id1d6d1d6d2d6d2d6d3d6d4d6d/d6d56id6d6d6d6d,d6d7d6d-d6d.d6d/d6d86id9d6d9d6d:d6d:d6d;d6d.d6d/d6d<6ZdrZ	ej
j�dZej
dd=�Z
eded>Zejjej�Zejjej�Zejjej�Zejjej�ZdadZd?d@�Zejrejjeej��Zneej ��Zej!d)krudAedsd�j"�krueejj#ee��Znej!d)kr�dCedtd�j"�kr�eejj#eee��Znej!d)kr
dEedud�j"�kr
eejj#eee��ZndGej$kr2eej$dG�ZndHdI�Z%e&edJd�Z'e'r�ej!d)kr�e'j"�j(dv�r�ejje'�Z'e'j(dA�r�ejje'�Z'q�ndwdLdM�Z*e*dx�Z,e,rx-dyD]"Z-dNee-d<dOee-d<q�WndPdQ�Z.dRdS�Z/dTdU�Z0dVdW�Z1dXdY�Z2ddZd[�Z3d\d�Z4d]d^�Z5d_d`�Z6dadb�Z7ddcd�Z8ddd�Z9ded
�Z:dfd	�Z;e1�ddxdgd
�Z<e1�ddxdhd�Z=did�Z>djd�Z?dkd�Z@dld�ZAdmdn�ZBdodp�ZCeDdqkr@eC�ndS(zu-Access to Python's configuration information.iN(upardirurealpathuget_config_h_filenameuget_config_varuget_config_varsuget_makefile_filenameuget_pathuget_path_namesu	get_pathsuget_platformuget_python_versionuget_scheme_namesuparse_config_hu/{installed_base}/lib64/python{py_version_short}ustdlibu){platbase}/lib64/python{py_version_short}u
platstdlibu1{base}/lib/python{py_version_short}/site-packagesupurelibu7{platbase}/lib64/python{py_version_short}/site-packagesuplatlibu;{installed_base}/include/python{py_version_short}{abiflags}uincludeu?{installed_platbase}/include/python{py_version_short}{abiflags}uplatincludeu
{base}/binuscriptsu{base}udatauposix_prefixu{installed_base}/lib/pythonu{base}/lib/pythonu{installed_base}/include/pythonu
posix_homeu{installed_base}/Libu
{base}/Libu{base}/Lib/site-packagesu{installed_base}/Includeu{base}/Scriptsuntuos2u'{userbase}/lib/python{py_version_short}u5{userbase}/lib/python{py_version_short}/site-packagesu+{userbase}/include/python{py_version_short}u{userbase}/binu
{userbase}uos2_homeu#{userbase}/Python{py_version_nodot}u1{userbase}/Python{py_version_nodot}/site-packagesu+{userbase}/Python{py_version_nodot}/Includeu{userbase}/Scriptsunt_useru){userbase}/lib64/python{py_version_short}u7{userbase}/lib64/python{py_version_short}/site-packagesu
posix_useru{userbase}/lib/pythonu#{userbase}/lib/python/site-packagesu{userbase}/includeuosx_framework_useriicCs+yt|�SWntk
r&|SYnXdS(N(urealpathuOSError(upath((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_safe_realpathws
u_safe_realpathupcbuildiu\pc\vi
u\pcbuild\amd64iu_PYTHON_PROJECT_BASEcCs=x6dD].}tjjtjj|d|��rdSqWdS(Nu
Setup.distuSetup.localuModules(u
Setup.distuSetup.localTF(uosupathuisfileujoinuTrueuFalse(udufn((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_is_python_source_dir�s
$u_is_python_source_diru_homeu
pcbuild\amd64cCs |rtrtt�Stt�S(N(u	_sys_homeu_is_python_source_diru
_PROJECT_BASE(u
check_home((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuis_python_build�s
uis_python_buildu{srcdir}/Includeu{projectbase}/.cCsvy|j|�SWn^tk
rqy|jtj�SWn5tk
rl}ztd|��WYdd}~XnXYnXdS(Nu{%s}(uformatuKeyErroruosuenvironuAttributeError(usu
local_varsuvar((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_subst_vars�s
u_subst_varscCsI|j�}x6|j�D](\}}||kr7qn|||<qWdS(N(ukeysuitems(utarget_dictu
other_dictutarget_keysukeyuvalue((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_extend_dict�s
u_extend_dictcCs�i}|dkri}nt|t��xat|j�D]O\}}tjdkrltjj|�}ntjj	t
||��||<q<W|S(Nuposixunt(uposixunt(uNoneu_extend_dictuget_config_varsu_INSTALL_SCHEMESuitemsuosunameupathu
expanduserunormpathu_subst_vars(uschemeuvarsuresukeyuvalue((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_expand_vars�s	#u_expand_varscCstjdkrdStjS(Nuposixuposix_prefix(uosuname(((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_get_default_scheme�su_get_default_schemec	Cs�tjjdd�}dd�}tjdkrbtjjd�pEd}|rR|S||d�Sntjdkr�td	�}|r�|r�|S|dd
|dtjdd��Sq�n|r�|S|dd
�SdS(NuPYTHONUSERBASEcWstjjtjj|��S(N(uosupathu
expanduserujoin(uargs((u./opt/alt/python33/lib64/python3.3/sysconfig.pyujoinuser�su_getuserbase.<locals>.joinuseruntuAPPDATAu~uPythonudarwinuPYTHONFRAMEWORKuLibraryu%d.%diu.local(	uosuenvironugetuNoneunameusysuplatformuget_config_varuversion_info(uenv_baseujoinuserubaseu	framework((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_getuserbase�s"u_getuserbasecCs3tjd�}tjd�}tjd�}|dkrBi}ni}i}t|dd��}|j�}WdQXx�|D]�}	|	jd�s||	j�dkr�q|n|j|	�}
|
r||
jd	d
�\}}|j�}|j	dd�}
d|
kr
|||<qUyt
|�}Wn(tk
rG|j	dd�||<YqUX|||<q|q|Wt|j
��}d}xot|�dkr�xVt|�D]H}||}|j|�p�|j|�}
|
dk	r�|
jd	�}d}||krt||�}n�||krd}n�|tjkr5tj|}nx||kr�|jd�ro|dd�|krod}q�d||kr�d}q�t|d|�}nd||<}|r�||
j�d�}|d|
j��}|j�|kr�||7}n||7}d|kr!|||<q�yt
|�}Wn"tk
rU|j�||<YnX|||<|j|�|jd�r�|dd�|kr�|dd�}||kr�|||<q�q�q�q�|||<|j|�q�WqtWx<|j�D].\}}t|t�r�|j�||<q�q�W|j|�|S(u�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.
    u"([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)u\$\(([A-Za-z][A-Za-z0-9_]*)\)u\${([A-Za-z][A-Za-z0-9_]*)}uerrorsusurrogateescapeNu#uiiu$$u$uCFLAGSuLDFLAGSuCPPFLAGSiuPY_i(uCFLAGSuLDFLAGSuCPPFLAGSTF(ureucompileuNoneuopenu	readlinesu
startswithustripumatchugroupureplaceuintu
ValueErrorulistukeysulenutupleusearchuTrueustruFalseuosuenvironuendustarturemoveuitemsu
isinstanceuupdate(ufilenameuvarsu_variable_rxu_findvar1_rxu_findvar2_rxudoneunotdoneufulinesulineumunuvutmpvu	variablesurenamed_variablesunameuvalueufounduitemuafteruk((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_parse_makefile�s�		
!


			







u_parse_makefilecCsftrtjjtptd�Sttd�rDdttj	f}nd}tjjt
d�|d�S(u Return the path of the Makefile.uMakefileuabiflagsuconfig-%s%suconfigustdlib(u
_PYTHON_BUILDuosupathujoinu	_sys_homeu
_PROJECT_BASEuhasattrusysu_PY_VERSION_SHORTuabiflagsuget_path(uconfig_dir_name((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuget_makefile_filenameesc+Cs_ddl}i}t�}yt||�Wn^tk
r�}z>d|}t|d�rn|d|j}nt|��WYdd}~XnXt�}y&t|��}t||�WdQXWn^tk
r}z>d|}t|d�r�|d|j}nt|��WYdd}~XnXt	r4|d|d<nd}d	t
jkr}ddl}|j
|�}	||	_|	t
j|<nd
t�t
jdd�f}
tt
d�r�|
d
7}
ntj|
dd�tjj|
|d�}t|ddd��4}|jd�|jd�|j|d|�WdQXtdddd��}|j|
�WdQXdS(u;Generate the Python module containing build-time variables.iNu.invalid Python installation: unable to open %sustrerroru (%s)uLDSHAREDu	BLDSHAREDu_sysconfigdataudarwinubuild/lib.%s-%siugettotalrefcountu-pydebuguexist_oku.pyuwuencodinguutf8uB# system configuration generated and used by the sysconfig module
ubuild_time_vars = ustreamupybuilddir.txtuasciiT(upprintuget_makefile_filenameu_parse_makefileuIOErroruhasattrustrerroruget_config_h_filenameuopenuparse_config_hu
_PYTHON_BUILDusysuplatformuimpu
new_moduleubuild_time_varsumodulesuget_platformuversionuosumakedirsuTrueupathujoinuwrite(upprintuvarsumakefileueumsguconfig_hufunameuimpumoduleu
pybuilddirudestfile((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_generate_posix_varsosL	
	

	 


u_generate_posix_varscCs!ddlm}|j|�dS(u7Initialize the module as appropriate for POSIX systems.i(ubuild_time_varsN(u_sysconfigdataubuild_time_varsuupdate(uvarsubuild_time_vars((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_init_posix�su_init_posixcCs{td�|d<td�|d<td�|d<d|d<d|d	<d
|d<t|d<tjjttj��|d
<dS(u+Initialize the module as appropriate for NTustdlibuLIBDESTu
platstdlibu
BINLIBDESTuincludeu	INCLUDEPYu.pyduSOu
EXT_SUFFIXu.exeuEXEuVERSIONuBINDIRN(uget_pathu_PY_VERSION_SHORT_NO_DOTuosupathudirnameu_safe_realpathusysu
executable(uvars((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_init_non_posix�s



u_init_non_posixcCs�|dkri}ntjd�}tjd�}x�|j�}|sLPn|j|�}|r�|jdd�\}}yt|�}Wntk
r�YnX|||<q6|j|�}|r6d||jd�<q6q6|S(u�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.
    u"#define ([A-Z][A-Za-z0-9_]+) (.*)
u&/[*] #undef ([A-Z][A-Za-z0-9_]+) [*]/
iiiN(uNoneureucompileureadlineumatchugroupuintu
ValueError(ufpuvarsu	define_rxuundef_rxulineumunuv((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuparse_config_h�s(	

cCsatrBtjdkr3tjjtp'td�}qNtp<t}ntd�}tjj|d�S(uReturn the path of pyconfig.h.untuPCuplatincludeu
pyconfig-64.h(u
_PYTHON_BUILDuosunameupathujoinu	_sys_homeu
_PROJECT_BASEuget_path(uinc_dir((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuget_config_h_filename�scCsttt��S(u,Return a tuple containing the schemes names.(utupleusortedu_INSTALL_SCHEMES(((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuget_scheme_names�scCstS(u*Return a tuple containing the paths names.(u_SCHEME_KEYS(((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuget_path_names�scCs|rt||�St|SdS(u�Return 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(u_expand_varsu_INSTALL_SCHEMES(uschemeuvarsuexpand((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu	get_paths�s
cCst|||�|S(u[Return a path corresponding to the scheme.

    ``scheme`` is the install scheme name.
    (u	get_paths(unameuschemeuvarsuexpand((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuget_pathscGs�tdkr�iattd<ttd<ttd<ttd<tdtdtd<ttd<ttd	<ttd
<ttd<ttd<yt	j
td
<Wntk
r�dtd
<YnXtj
dkr�tt�ntj
dkr�tt�nt�td<tjdt�}tj
dkrctrKtjjt��}tjj||�}qctjjt��}nt|�td<t	jdkr�ddl}|jt�q�n|r�g}x$|D]}|jtj|��q�W|StSdS(unWith 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 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.
    uprefixuexec_prefixu
py_versionupy_version_shortiiupy_version_nodotuinstalled_baseubaseuinstalled_platbaseuplatbaseuprojectbaseuabiflagsuuntuos2uposixuuserbaseusrcdirudarwinN(untuos2(u_CONFIG_VARSuNoneu_PREFIXu_EXEC_PREFIXu_PY_VERSIONu_PY_VERSION_SHORTu_BASE_PREFIXu_BASE_EXEC_PREFIXu
_PROJECT_BASEusysuabiflagsuAttributeErroruosunameu_init_non_posixu_init_posixu_getuserbaseugetu
_PYTHON_BUILDupathudirnameuget_makefile_filenameujoinu_safe_realpathuplatformu_osx_supportucustomize_config_varsuappend(uargsusrcdirubaseu_osx_supportuvalsuname((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuget_config_varssJ













cCst�j|�S(u�Return the value of a single variable using the dictionary returned by
    'get_config_vars()'.

    Equivalent to get_config_vars().get(name)
    (uget_config_varsuget(uname((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuget_config_varWsc
Cs�tjdkr�d}tjj|�}|d*kr:tjStjjd|�}tj|t|�|�j�}|dkr�dS|dkr�dStjStjd	ks�ttd
�r�tjSdtj	kr�tj	dStj
�\}}}}}|j�jdd
�}|jdd�}|jdd�}|dd�dkrTd||fS|dd�dkr�|ddkr�d}dt|d�d|dd�f}idd6dd6}	|d |	tj
7}q�n�|dd!�d"kr�d||fS|dd�d#kr"d$|||fS|dd%�d&krtd&}tjd'�}
|
j|�}|r�|j�}q�nI|dd%�d(kr�ddl}|jt�|||�\}}}nd)|||fS(+u�Return 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'.
    untu bit (iu)uamd64u	win-amd64uitaniumuwin-ia64uposixuunameu_PYTHON_HOST_PLATFORMu/uu u_u-Niulinuxu%s-%susunosiu5usolarisu%d.%siiu32biti���u64bitl����u.%siuirixuaixu%s-%s.%siucygwinu[\d.]+udarwinu%s-%s-%si����(uosunameusysuversionufinduplatformulenuloweruhasattruenvironuunameureplaceuintumaxsizeureucompileumatchugroupu_osx_supportuget_platform_osxuget_config_vars(
uprefixuiujulookuosnameuhostureleaseuversionumachineubitnessurel_reumu_osx_support((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuget_platform`sX#(cCstS(N(u_PY_VERSION_SHORT(((u./opt/alt/python33/lib64/python3.3/sysconfig.pyuget_python_version�scCsdx]tt|j���D]C\}\}}|dkrHtd|�ntd||f�qWdS(Niu%s: u
	%s = "%s"(u	enumerateusorteduitemsuprint(utitleudatauindexukeyuvalue((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_print_dict�s+u_print_dictcCsdtjkrt�dStdt��tdt��tdt��t�tdt��t�tdt	��dS(u*Display all information sysconfig detains.u--generate-posix-varsNuPlatform: "%s"uPython version: "%s"u!Current installation scheme: "%s"uPathsu	Variables(
usysuargvu_generate_posix_varsuprintuget_platformuget_python_versionu_get_default_schemeu_print_dictu	get_pathsuget_config_vars(((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu_main�su_mainu__main__(ustdlibu
platstdlibupurelibuplatlibuincludeuscriptsudatai����i����i�(upcbuildu
pcbuild\amd64FT(uposix_prefixu
posix_home(Eu__doc__uosureusysuos.pathupardirurealpathu__all__u_INSTALL_SCHEMESu_SCHEME_KEYSuversionusplitu_PY_VERSIONu_PY_VERSION_SHORTu_PY_VERSION_SHORT_NO_DOTupathunormpathuprefixu_PREFIXubase_prefixu_BASE_PREFIXuexec_prefixu_EXEC_PREFIXubase_exec_prefixu_BASE_EXEC_PREFIXuNoneu_CONFIG_VARSu
_USER_BASEu_safe_realpathu
executableudirnameu
_PROJECT_BASEugetcwdunameulowerujoinuenvironu_is_python_source_dirugetattru	_sys_homeuendswithuFalseuis_python_builduTrueu
_PYTHON_BUILDuschemeu_subst_varsu_extend_dictu_expand_varsu_get_default_schemeu_getuserbaseu_parse_makefileuget_makefile_filenameu_generate_posix_varsu_init_posixu_init_non_posixuparse_config_huget_config_h_filenameuget_scheme_namesuget_path_namesu	get_pathsuget_pathuget_config_varsuget_config_varuget_platformuget_python_versionu_print_dictu_mainu__name__(((u./opt/alt/python33/lib64/python3.3/sysconfig.pyu<module>s 		++!+!
	
y
?I	Z

?>