B ‘–Re~Tã@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 yes 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.x(dD] }tj tj |d|¡¡rdSqWdS)N)ZSetupz Setup.localÚModulesTF)ÚosÚpathÚisfileÚjoin)ÚdÚfn©r ú•/builddir/build/BUILDROOT/alt-python37-setuptools-58.3.0-4.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/setuptools/_distutils/sysconfig.pyÚ_is_python_source_dir,s r Ú_homeÚntcCs0|r,tj |¡ tj tj td¡¡¡r,tS|S)NZPCbuild)rrÚnormcaseÚ startswithrÚPREFIX)r r r r Ú _fix_pcbuild5srcCstr 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}tjdkr’tr:tjdkr:tj |d¡St rh|rJt pHt Stj t dƒd¡}tj  |¡Strpdnd}|tƒt}tj |d|¡Stjd krÒt rÄ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Úposix)ééÚincludeÚsrcdirÚIncludeÚpypyÚpythonrÚPCzFI don't know where Python installs its C header files on platform '%s')ÚBASE_EXEC_PREFIXÚ BASE_PREFIXrÚnameÚIS_PYPYrrrrÚ python_buildrrÚget_config_varÚnormpathrÚ build_flagsÚpathsepr)Ú plat_specificÚprefixÚincdirÚimplementationÚ python_dirr r r Úget_python_incYs*      r3cCstrBtjdkrB|dkrt}|r4tj |dtjd¡Stj |d¡S|dkrh|r\|rVtpXt }n |rdt pft}tj dkrÆ|sz|rˆt tddƒ}nd}tr”d nd }tj |||t ƒ¡}|r¶|Stj |d¡Sn s\       + 8K      jK