ž «ÿf"Xc@s¦dZddlZddlZddlZddlmZejjejƒZ ejjej ƒZ ejjej ƒZ ejjejƒZdejkr¹ejjejdƒZn!ejjejjejƒƒZejdkr/ded3d…jƒkr/ejjejjeejjƒƒZnejdkrd ed4d…jƒkrejjejjeejjejjƒƒZnejdkrëd ed5d…jƒkrëejjejjeejjejjƒƒZnd d„ZeeddƒZerlejdkrlejƒjd6ƒrlejjeƒZejdƒrlejjeƒZqlndd„ZeƒZdZ yesœej!Z nWne"k r±YnXdd„Z#dddd„Z$ddddd„Z%dd„Z&dd„Z'dd„Z(dd d!„Z)ej*d"ƒZ+ej*d#ƒZ,ej*d$ƒZ-dd%d&„Z.d'd(„Z/da0d)d*„Z1d+d,„Z2d-d.„Z3d/d0„Z4d1d2„Z5dS(7uProvide 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: iNi(uDistutilsPlatformErroru_PYTHON_PROJECT_BASEuntupcbuildiu\pc\vi u\pcbuild\amd64icCs=x6dD].}tjjtjj|d|ƒƒrdSqWdS(Nu Setup.distu Setup.localuModules(u Setup.distu Setup.localTF(uosupathuisfileujoinuTrueuFalse(udufn((u8/opt/alt/python33/lib64/python3.3/distutils/sysconfig.pyu_is_python_source_dir0s $u_is_python_source_diru_homeu pcbuild\amd64cCstrttƒSttƒS(N(u _sys_homeu_is_python_source_diru project_base(((u8/opt/alt/python33/lib64/python3.3/distutils/sysconfig.pyu _python_build;s u _python_builducCstjdd…S(u–Return a string containing the major and minor Python version, leaving off the patchlevel. Sample return values could be '1.5' or '2.2'. Ni(usysuversion(((u8/opt/alt/python33/lib64/python3.3/distutils/sysconfig.pyuget_python_versionMsuget_python_versioncCs|d kr!|rtpt}ntjdkrÂtr›tp?t}|rL|Strptjj tt dƒƒ}ntjj t dƒdƒ}tjj |ƒSdt ƒt }tjj |d|ƒStjdkrätjj |dƒStjdkrtjj |dƒStd tjƒ‚d S( u¤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.base_prefix or sys.base_exec_prefix -- i.e., ignore 'plat_specific'. uposixu AST_H_DIRusrcdiruIncludeupythonuincludeuntuos2uFI don't know where Python installs its C header files on platform '%s'N(uNoneuBASE_EXEC_PREFIXu BASE_PREFIXuosunameu python_buildu _sys_homeu project_baseupathujoinuget_config_varunormpathuget_python_versionu build_flagsuDistutilsPlatformError(u plat_specificuprefixubaseuincdiru python_dir((u8/opt/alt/python33/lib64/python3.3/distutils/sysconfig.pyuget_python_incUs(  uget_python_inccCsQ|d kr<|r'|rtp!t}q<|r3tp6t}ntjdkr¥|sW|r`d}nd}tjj||dt ƒƒ}|r|Stjj|dƒSn¨tjdkrù|rÍtjj|dƒSt ƒdkrà|Stjj|ddƒSnTtjd kr:|r!tjj|dƒStjj|ddƒSnt d tjƒ‚d S( uSReturn 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.base_prefix or sys.base_exec_prefix -- i.e., ignore 'plat_specific'. uposixulib64ulibupythonu site-packagesuntuLibu2.2uos2u?I don't know where Python installs its library on platform '%s'N( uNoneuBASE_EXEC_PREFIXu BASE_PREFIXu EXEC_PREFIXuPREFIXuosunameupathujoinuget_python_versionuDistutilsPlatformError(u plat_specificu standard_libuprefixulibu libpython((u8/opt/alt/python33/lib64/python3.3/distutils/sysconfig.pyuget_python_lib}s4    uget_python_libcCsÐ|jdkrÌtjdkrYtjddƒsYddl}|jtƒdtdd|}t|dƒrb|d|j}nt|ƒ‚WYdd}~XnXy/tƒ}t|ƒ}t||ƒWdQXWn^tk r}z>d|}t|dƒrò|d|j}nt|ƒ‚WYdd}~XnXt r(|d|d sh   !+*++     (3 H  m  /   E