Pc@sdZddlZddlZddlmZmZiidd6dd6dd 6d d 6d d 6dd6dd6dd6d6idd6dd6dd 6dd 6dd 6dd6dd6dd6d6idd6dd6dd 6dd 6dd 6dd6dd6dd6d6idd6dd6dd 6dd 6dd 6dd6dd6dd6d6idd6dd6dd 6dd 6d d 6d!d6d"d6d#6id$d6d$d6d%d 6d%d 6d&d 6d'd6d"d6d(6idd6dd6dd 6dd 6d d 6d!d6d"d6d)6id*d6d*d6d+d 6d+d 6d,d 6d!d6d"d6d-6ZdNZejj d.Z ejd/ Z e d.e d0Z ej jejZej jejZdadZd1Zejrej jeejZneejZejdkr d2ed3jkr eej jeeZnejdkrOd4ed5jkrOeej jeeeZnejdkrd6ed7jkreej jeeeZnd8ZeZerx-dOD]"Z d9ee d Z$d?Z%dd@Z&dAZ'dBZ(dCZ)ddDZ*dEZ+dFZ,dGZ-e$de.dHZ/e$de.dIZ0dJZ1dKZ2dLZ3dMZ4dS(Ps7Provide 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}t platincludes {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((s7J:\tools\MySQL Workbench 5.2 CE\python\lib\sysconfig.pyt_safe_realpathas tpcbuildis\pc\vis\pcbuild\amd64icCs=x6dD].}tjjtjjtd|rtSqWtS(Ns Setup.dists Setup.localtModules(s Setup.dists Setup.local(tosRtisfiletjoint _PROJECT_BASEtTruetFalse(tfn((s7J:\tools\MySQL Workbench 5.2 CE\python\lib\sysconfig.pytis_python_buildws $s{projectbase}/Includes{srcdir}cCscy|j|SWnKtk r^y|jtjSWq_tk rZ}td|q_XnXdS(Ns{%s}(tformattKeyErrorRtenvirontAttributeError(tst local_varstvar((s7J:\tools\MySQL Workbench 5.2 CE\python\lib\sysconfig.pyt _subst_varss cCsI|j}x6|jD](\}}||kr7qn|||krd3} qu|d?krd5} qu|d@kr d6} qut d7|fqx| d/krHtj!dAkrud1} quqx| dBkrxtj!dCkrld4} qud0} qxq{nd;||| fS(DsReturn 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-ia64R/Rt/RNRt_t-itlinuxs%s-%stsunosit5tsolariss%d.%siiitirixtaixs%s-%s.%sitcygwins[\d.]+RARys0/System/Library/CoreServices/SystemVersion.plists'ProductUserVisibleVersion\s*s(.*?)Rzitmacosxs10.4.s-archRtfats -arch\s+(\S+)ti386tppctx86_64tinteltfat3tppc64tfat64t universals%Don't know machine value for archs=%ri tPowerPCtPower_Macintoshs%s-%s-%s(RR(RR(RRR(RR(RRRRl(RRl("RPRR3REtversiontfindRFtlentlowerR~RRXRYRQRVRWR1R!RDRRR}R[treadtcloseR0RRRUtfindallRtsortedtsetRZtmaxint(RPRtitjtlooktosnamethosttreleaseRtmachinetrel_reRjtcfgvarstmacvert macreleaseRgtcflagstarchs((s7J:\tools\MySQL Workbench 5.2 CE\python\lib\sysconfig.pyt get_platforms     (    ,  !               cCstS(N(R(((s7J:\tools\MySQL Workbench 5.2 CE\python\lib\sysconfig.pytget_python_versions(sstdlibs platstdlibspurelibRsincludeRsdata(s posix_prefixR (5t__doc__RERtos.pathRRR2RRRRRRRR5RRRRR0Rt _USER_BASERRRRRR3RRRRuR6R&R.R9R:RLRrRwRRRRRRRRRvR1RGRR(((s7J:\tools\MySQL Workbench 5.2 CE\python\lib\sysconfig.pyts            %%!%!       V  ,      |