U Wzf_eSã@s¼dZddlZddlZddlZddlZddlmZdejkZej   ej ¡Z ej   ej ¡Zej   ej¡Zej   ej¡Zdejkrej  ejd¡Zn&ejr®ej  ej  ej¡¡Zne ¡Zdd„Zeed dƒZejd krìd d „ZeeƒZeeƒZd d„ZeƒZdZ zes ej!Z Wne"k r$YnXdd„Z#d-dd„Z$d.dd„Z%dd„Z&dd„Z'dd„Z(d/dd„Z)e *d¡Z+e *d¡Z,e *d ¡Z-d0d!d"„Z.d#d$„Z/da0d%d&„Z1d'd(„Z2d)d*„Z3d+d,„Z4dS)1aProvide 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: éNé)ÚDistutilsPlatformErrorZ__pypy__Z_PYTHON_PROJECT_BASEcCs,dD]"}tj tj |d|¡¡rdSqdS)N)ÚSetupz Setup.localÚModulesTF)ÚosÚpathÚisfileÚjoin)ÚdÚfn©r úw/private/var/folders/n9/53xbvtmd7sjg1q1l55xmpg58n4mgng/T/pip-unpacked-wheel-slp6y8a5/setuptools/_distutils/sysconfig.pyÚ_is_python_source_dir,srÚ_homeÚntcCs0|r,tj |¡ tj tj td¡¡¡r,tS|S)NZPCbuild)rrÚnormcaseÚ startswithr ÚPREFIX)r r r r Ú _fix_pcbuild5s ÿrcCstr ttƒSttƒS)N)Ú _sys_homerÚ project_baser r r r Ú _python_build=srÚcCsdtjdd…S)z–Return a string containing the major and minor Python version, leaving off the patchlevel. Sample return values could be '1.5' or '2.2'. z%d.%dNé)ÚsysÚ version_infor r r r Úget_python_versionQsrcCsÎ|dkr|rtpt}tr&tj |d¡Stjdkr|tr^|r@tp>t Stj t dƒd¡}tj  |¡Sdt ƒt }tj |d|¡Stjdkr¼tr®tj |d¡tjjtj |d¡Stj |d¡Std tjƒ‚dS) a¤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'. NÚincludeÚposixÚsrcdirÚIncludeÚpythonrÚPCzFI don't know where Python installs its C header files on platform '%s')ÚBASE_EXEC_PREFIXÚ BASE_PREFIXÚIS_PYPYrrr ÚnameÚ python_buildrrÚget_config_varÚnormpathrÚ build_flagsÚpathsepr)Ú plat_specificÚprefixÚincdirÚ python_dirr r r Úget_python_incYs.      ÿÿÿr0cCsðtr8|dkrt}|r*tj |dtjd¡Stj |d¡S|dkr^|rR|rLtpNt}n |rZt p\t}tj dkr°|sp|r~t tddƒ}nd}tj ||dt ƒ¡}|r |Stj |d¡Sn|StSdS) aß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 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. NÚ_init_r-Ú exec_prefixr·ÚSOrrr:r)rTr¯r¤rr&rr4r%rr'rr¾rpr r¿r)ÚisabsÚgetcwdrrQrRÚcustomize_config_varsÚappend)ÚargsÚfuncrÄrÚbaserRÚvalsr&r r r rUêsD     ÿ  rUcCs*|dkrddl}| dtd¡tƒ |¡S)z“Return the value of a single variable using the dictionary returned by 'get_config_vars()'. Equivalent to get_config_vars().get(name) rÄrNz SO is deprecated, use EXT_SUFFIXr)ÚwarningsÚwarnÚDeprecationWarningrUr¤)r&rÍr r r r(5sr()rN)rrN)N)N)5Ú__doc__r¼rrqrr†rÚbuiltin_module_namesr%rr)r-rrÃr4Ú base_prefixr$Úbase_exec_prefixr#rVr¿rrÀr¾rÆrr5rr&rrr'r*r­ÚAttributeErrorrr0r8rSrgrpr€rrr‹rr‘r¢r¨rTr³rÁrUr(r r r r Ús\        * 6I      jK