a0bi. >SrSSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSK J r SSK J r SSK JrJrJrJr SSKJrJr SS KJr \R."S /S /S /S /S/S/S/S/\R0S. 5rSrSr"SS\ 5r"SS\5rSrSrSr Sr!Sr"Sr#g)adistutils.cygwinccompiler Provides the CygwinCCompiler class, a subclass of UnixCCompiler that handles the Cygwin port of the GNU C compiler to Windows. It also contains the Mingw32CCompiler class which handles the mingw32 port of GCC (same as cygwin in no-cygwin mode). N) check_output) UnixCCompiler) write_file)DistutilsExecErrorDistutilsPlatformErrorCCompilerError CompileError) LooseVersionsuppress_known_deprecation)RangeMapmsvcr70msvcr71msvcr80msvcr90msvcr100msvcr110msvcr120 vcruntime140) iiixii@iiilic[R"S[R5n[ UR S55n[U$![ a gf=f![a [SU-5ef=f)zYInclude the appropriate MSVC runtime library if Python was built with MSVC 7.0 or later. zMSC v\.(\d{4})rNzUnknown MS Compiler version %s ) researchsysversionintgroupAttributeError _msvcr_lookupKeyError ValueError)matchmsc_vers ڞ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/_distutils/cygwinccompiler.py get_msvcrr$4sx II' 5Eekk!n%FW%%  F:WDEEFsA A AAA4zxUnable to set runtime library search path on Windows, usually indicated by `runtime_library_dirs` parameter to Extensionc^\rSrSrSrSrSrSrSrSr Sr Sr S r S r SU4S jjr\S 5rS rSSjrSrU4Sjr\U4Sj5rSrU=r$)CygwinCCompilerIz9Handles the Cygwin port of the GNU C compiler to Windows.cygwinz.oz.az.dll.az.dllzlib%s%szcyg%s%sz.exec R>[TU]XU5 [5upEURSR XE55 U[ LaUR SU-5 [RRSS5Ul [RRSS5Ul URUl SnURSUR-S UR-SUR-S UR-S R URU5S 9 [5Ulg) Nz%Python's GCC status: {} (details: {})zPython's pyconfig.h doesn't seem to support your compiler. Reason: %s. Compiling may fail because of undefined preprocessor macros.CCgccCXXzg++-sharedz%s -mcygwin -O -Wallz%s -mcygwin -mdll -O -Wallz %s -mcygwinz{} -mcygwin {}compiler compiler_so compiler_cxx linker_exe linker_so)super__init__check_config_h debug_printformat CONFIG_H_OKwarnosenvirongetcccxx linker_dllset_executablesr$ dll_libraries)selfverbosedry_runforcestatusdetails shared_option __class__s r#r5CygwinCCompiler.__init__Vs 51(*  3 : :6 K   $ IIOQXY  **..u-::>>%/''!  +dgg54tww>/$((:$tww.'..t N  '[c[R"S[SS9 [5 [ S5sSSS5 $!,(df  g=f)Nzgcc_version attribute of CygwinCCompiler is deprecated. Instead of returning actual gcc version a fixed value 11.2.0 is returned.) stacklevelz11.2.0)warningsr:DeprecationWarningr r )rCs r# gcc_versionCygwinCCompiler.gcc_versionvs8   X   ( ))* ) )s : AcUS;aURSSUSU/5 gURURU-USU/-U-5 g![an[U5eSnAff=f![an[U5eSnAff=f)z:Compiles the source by spawning GCC and windres if needed.).rc.reswindresz-iz-oN)spawnrr r0)rCobjsrcextcc_argsextra_postargspp_optsmsgs r#_compileCygwinCCompiler._compiles / ! ( ItS$<= ( $$w.#tS1AANR & ("3'' (& ("3'' (s.A'A% A" AA"% A?/ A::A?c[R"U =(d /5n [R"U=(d /5n[R"U=(d /5nU(aUR[5 URUR5 UGb XR :wdUR S:Xa[RRUS5n[RR[RRU55unn[RRXS-5nS[RRU5-S/nUHnURU5 M UR[UU4SU-5 URU5 U (dU RS5 [ R""UUUUUUUUSU U U U U 5 g) zLink the objects.Nr+rz.defz LIBRARY %sEXPORTSz writing %sz-s)copyr:_runtime_library_dirs_msgextendrB EXECUTABLEr@r;pathdirnamesplitextbasenamejoinappendexecuterrlink)rC target_descobjectsoutput_filename output_dir libraries library_dirsruntime_library_dirsexport_symbolsdebug extra_preargsr] build_temp target_langtemp_dirdll_name dll_extensiondef_filecontentssyms r#roCygwinCCompiler.links$ -"526 IIio2. ))GMr*  II/ 0 ++,  & ?? *doo.Fwwwqz2H(*(8(8  1) %X} ww||H.?@H%rww'7'7'HH)TH%$& LLh%9<(;R S NN8 $   &              rLc0UR[5 /$N)r:rerCdirs r#runtime_library_dir_option*CygwinCCompiler.runtime_library_dir_options +, rLcb>[RRU5n[TU]XU5$r)r;rhnormcaser4_make_out_path)rCrs strip_dirsrc_name norm_src_namerJs r#rCygwinCCompiler._make_out_paths)((2 w%j]KKrLcd>0[TU]ESVs0sHoXR-_M snE$s snf)z# Add support for rc and res files. )rVrU)r4out_extensions obj_extension)rCr[rJs r#rCygwinCCompiler.out_extensionss@  g$ 8GHC,,,,H  Hs-)r>r?rBr@rrr) NNNNNrNNNN)__name__ __module__ __qualname____firstlineno____doc__ compiler_typerstatic_lib_extensionshared_lib_extensiondylib_lib_extensionstatic_lib_formatshared_lib_formatdylib_lib_format exe_extensionr5propertyrRr`rorrr__static_attributes__ __classcell__rJs@r#r&r&IsCMM# !! M)@ * *(*!X tL   rLr&c:^\rSrSrSrSrSU4SjjrSrSrU=r $)Mingw32CCompileri z:Handles the Mingw32 port of the GNU C compiler to Windows.mingw32c 6>[TU]XU5 Sn[UR5(a [ S5eUR SUR-SUR-SUR -SUR-SRURU5S9 g)Nr-z1Cygwin gcc cannot be used with --compiler=mingw32z %s -O -Wallz%s -mdll -O -Wallz%sz{} {}r.) r4r5 is_cygwinccr>r rAr?r8r@)rCrDrErFrIrJs r#r5Mingw32CCompiler.__init__s 51! tww   !TU U "TWW,+dgg5&1dgg~nnT__mD  rLc [[5er)rrers r#r+Mingw32CCompiler.runtime_library_dir_options$%>??rLr) rrrrrrr5rrrrs@r#rr sDM @@rLrokznot ok uncertaincSSKJn S[R;a[S4$S[R;a[S4$UR 5n[ U5nSUR5;a[SU-4UR5 $[S U-4UR5 $!UR5 f=f![a+n[S RXR54sS nA$S nAff=f) aKCheck if the current Python installation appears amenable to building extensions with GCC. Returns a tuple (status, details), where 'status' is one of the following constants: - CONFIG_H_OK: all is well, go ahead and compile - CONFIG_H_NOTOK: doesn't look good - CONFIG_H_UNCERTAIN: not sure -- unable to read pyconfig.h 'details' is a human-readable string explaining the situation. Note there are two ways to conclude "OK": either 'sys.version' contains the string "GCC" (implying that this Python was built with GCC), or the installed "pyconfig.h" contains the string "__GNUC__". r) sysconfigGCCzsys.version mentions 'GCC'Clangzsys.version mentions 'Clang'__GNUC__z'%s' mentions '__GNUC__'z '%s' does not mention '__GNUC__'zcouldn't read '{}': {}N) distutilsrrrr9get_config_h_filenameopenreadcloseCONFIG_H_NOTOKOSErrorCONFIG_H_UNCERTAINr8strerror)rfnconfig_hexcs r#r6r6+s*$  888#++:::  ( ( *B W8 X]]_,"$>$CC NN &'IB'NN NN HNN  W"$<$C$CB $UVVWsB B;B&:B; B&B;&B88B;; C0 C+%C0+C0c[[R"U5S/-5nUR5R S5$)zCTry to determine if the compiler that would be used is from cygwin.z -dumpmachinescygwin)rshlexsplitstripendswith)r> out_strings r#rrZs6ekk"o0@@AJ     & &y 11rL)$rr;rrrdrrP subprocessr unixccompilerr file_utilrerrorsrrr r rr r _collectionsr leftundefined_valuerr$rer&rr9rrr6r get_versionsrrLr#rs #(! >" kkkklll&&# . F I | m| @@@:  ,W^2  rL