a0biL8SrSSKrSSKrSSKrSSKrSSKJr \R"\5 SSK r SSS5 SSK J r J r J r JrJr SSKJrJr SSKJr SSKJr SSKJr S rS rS S S SS.rSrSrSSjrS SSSS.r"SS\5r g!,(df  Na=f)adistutils._msvccompiler Contains MSVCCompiler, an implementation of the abstract CCompiler class for Microsoft Visual Studio 2015. The module is compatible with VS 2015 and later. You can find legacy support for older versions in distutils.msvc9compiler and distutils.msvccompiler. N)DistutilsExecErrorDistutilsPlatformError CompileErrorLibError LinkError) CCompilergen_lib_options)log) get_platform)countc[R"[RS[R[R-S9nSnSnU [5Hn[R"X5upEnU(dM&U[R:XdM<[RRU5(dMb[[U55nUS:dMXq:dMXup!M SSS5 X4$![ a [ R"S5 gf=f![ a  M?f=f![ ["4a Mf=f!,(df  X4$=f)Nz'Software\Microsoft\VisualStudio\SxS\VC7)accesszVisual C++ is not registeredNNr)winreg OpenKeyExHKEY_LOCAL_MACHINEKEY_READKEY_WOW64_32KEYOSErrorr debugr EnumValueREG_SZospathisdirintfloat ValueError TypeError)key best_versionbest_dirivvc_dirvtversions ڜ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/_distutils/_msvccompiler.py _find_vc2015r+'s!  % % 6??V%;%;; LH A  & 0 0 8 2qR6==(RWW]]6-B-B!%(mGb=W%;-4(   !!'  01   #I.   !!s~AC- D<D3D<<D<"D<9D% D<D<D<- DD D"D<!D""D<%D95D<8D99D<< E c [RRS5=(d [RRS5nU(dg[R"[R R USSS5SSS S S S S S/ SSS9R5n[R R USSS5n[R RU5(aSU4$g![R[[4a gf=f)a2Returns "15, path" based on the result of invoking vswhere.exe If no install is found, returns "None, None" The version is returned to avoid unnecessarily changing the function result. It may be ignored when the path is not None. If vswhere.exe is not available, by definition, VS 2017 is not installed. zProgramFiles(x86) ProgramFilesrzMicrosoft Visual Studio Installerz vswhere.exez-latestz -prereleasez -requiresz1Microsoft.VisualStudio.Component.VC.Tools.x86.x64z -propertyinstallationPathz -products*mbcsstrict)encodingerrorsVC AuxiliaryBuild) renvironget subprocess check_outputrjoinstripCalledProcessErrorrUnicodeDecodeErrorr)rootrs r* _find_vc2017rBDs ::>>- . P"**..2PD && 3[-C"  %'! ( 77<<dK 9D ww}}T4x   ) )74F GsA C''D D x86x64armarm64)rC x86_amd64x86_arm x86_arm64c<[5upU(d [5up2U(d[R"S5 g[R R US5n[R RU5(d[R"SU5 gUS4$)Nz$No suitable Visual C++ version foundrz vcvarsall.batz%s cannot be found)rBr+r rrrr=isfile) plat_spec_r$r# vcvarsalls r*_find_vcvarsallrOvsn.KA !-  89 X7I 77>>) $ $ & 2 d?c[R"S5(aB[RR5VVs0sHupUR 5U_M snn$[ U5up4U(d [ S5e[R"SUSUS3[RS9RSSS 9nS UR!55VVVs0sH)upnU(dMU(dMUR 5U_M+ nnnnU$s snnf![Ra=n[R"UR5 [ S UR35eSnAff=fs snnnf) NDISTUTILS_USE_SDKzUnable to find vcvarsall.batz cmd /u /c "z" z && set)stderrzutf-16lereplace)r4zError executing c3B# UHoRS5v M g7f)=N) partition).0lines r* _get_vc_env..sO>NdnnS11>Ns)rgetenvr9itemslowerrOrr;r<STDOUTdecoder?r erroroutputcmd splitlines)rLr"valuerNrMoutexcenvs r* _get_vc_envris? yy$%%57ZZ5E5E5GH5Gzs U"5GHH"9-LI $%CDDC%%)Byk 9$$  &I& . Pcnn>NO OMCE    UO  J+I  ( (C #**$'7y%ABBC s/D>8D E!#E!,E! E!8EEcVU(d3[R"S5R[R5nUHhn[RR [RR U5U5n[RRU5(dMfUs $ U$)a\Return path to an MSVC executable program. Tries to find the program in several places: first, one of the MSVC program search paths from the registry; next, the directories in the PATH environment variable. If any of those work, return an absolute path that is known to exist. If none of them work, just return the original program name, 'exe'. r)rr\splitpathseprr=abspathrK)exepathspfns r* _find_exerrsn  &!'' 3  WW\\"''//!,c 2 77>>"  I JrPrGrHrI)win32z win-amd64z win-arm32z win-arm64cX^\rSrSrSrSr0rS/r/SQrS/r S/r \\-\ -\ -r Sr S r S rS rS =rrS rSU4Sjjr\S5r\S5rSSjr\U4Sj5rSSjrS SjrS!SjrU4Sjr\R@U4Sj5r!Sr"Sr#Sr$S"Sjr%Sr&U=r'$)# MSVCCompilerzpConcrete class that implements an interface to Microsoft Visual C++, as defined by the CCompiler abstract class.msvcz.c)z.ccz.cppz.cxx.rcz.mcz.resz.objz.libz.dllz%s%sz.execB>[TU]XU5 SUlSUlg)NF)super__init__ plat_name initialized)selfverbosedry_runforce __class__s r*r{MSVCCompiler.__init__s! 51 rPcURURSS55UlURURSS55Ulg)z# Set class-level include/lib dirs. includelibN) _parse_pathr: include_dirs library_dirs)clsvc_envs r* _configureMSVCCompiler._configures< ??6::i+DE??6::eR+@ArPcUR[R5Vs/sH*o(dM UR[R5PM, sn$s snfN)rkrrlrstripsep)valdirs r*rMSVCCompiler._parse_paths;.1ii .CK.Css" 266".CKKKs A#Ac4UR(aS5eUc [5nU[;a[S[ [535e[Un[ U5nU(d [S5eUR U5 URSS5UlURR[R5n[SU5Ul [SU5Ul[SU5Ul[S U5Ul[S U5Ul[S U5UlSUl/S QUl/S QUl/SQn/SQn/UQSPUl/UQSPUl/UQSPSPSPUl/UQSPSPSPUl/UQUl/UQUl:S4UR,[8R:S4UR,[8R:S4UR.[8R<S4UR0[8R<S4UR0[8R<S4UR2[8R>S4UR4[8R>S4UR4[8R>S4UR60 Ul SUlg)Nzdon't init multiple timesz--plat-name must be one of z7Unable to find a compatible Visual Studio installation.rrzcl.exezlink.exezlib.exezrc.exezmc.exezmt.exe)/nologoz/O2/W3z/GLz/DNDEBUGz/MD)rz/Odz/MDdz/Zirz/D_DEBUG)r/INCREMENTAL:NO/LTCG)rrrz /DEBUG:FULLz/MANIFEST:EMBED,ID=1z/DLLz/MANIFEST:EMBED,ID=2z/MANIFESTUAC:NOFT)!r}r PLAT_TO_VCVARSrtuplerirr:_pathsrkrrlrrcclinkerrrcmcmtpreprocess_optionscompile_optionscompile_options_debug ldflags_exeldflags_exe_debugldflags_sharedldflags_shared_debugldflags_staticldflags_static_debugr EXECUTABLE SHARED_OBJECTSHARED_LIBRARY_ldflags)r~r|rLrroldflags ldflags_debugs r* initializeMSVCCompiler.initializes##@%@@#  $I N *(-eN.C-DE  #9- Y'(L  jj,  !!"**-He, E2 Y.He,He,He,"& S& ":N =W=&<=!I=!I2H!I    #     % % %  #%   % ! )j$4m$4! ! !4 ($*:*:  ! !5 )4+;+;  ! !4 ($*@*@  $ $d +T-@-@  $ $e ,d.A.A  $ $d +T-F-F  % %t ,d.A.A  % %u -t/B/B  % %t ,d.G.G    rPc>0[TU]EURUR-Vs0sHnXR_M snE$s snfr)rzout_extensions_rc_extensions_mc_extensions res_extension)r~extrs r*rMSVCCompiler.out_extensionsAs[ g$  ..1D1DDDC'''D  sAc (UR(dUR5 URX#XAX5n U up:p{n U=(d /n U RS5 U(aU R UR 5 OU R UR 5 SnU GH nXunnU(a[RRU5nUUR;aSU-nGO^UUR;a SU-nSnGOEUUR;a.UnSU-nURUR/U -UU/-5 MUUR$;a[RR'U5n[RR'U5nURUR(SUSUU/5 [RR+[RR-U55unn[RR/UUS -5nURURSU-U/5 GM[#S US U35eUR0/U -U -nU(aURS 5 UR US U-45 UR U5 URU5 GM U $![a GM f=f![ an[#U5eSnAff=f![ an[#U5eSnAff=f![ an[#U5eSnAff=f)Nz/cFz/Tcz/TpTz/foz-hz-rrxzDon't know how to compile z to z/EHscz/Fo)r}r_setup_compileappendextendrrKeyErrorrrrm _c_extensions_cpp_extensionsrspawnrrrrdirnamersplitextbasenamer=r)r~sources output_dirmacrosrr extra_preargsextra_postargsdepends compile_infoobjectspp_optsbuild compile_opts add_cpp_optsobjsrcr input_opt output_optmsgh_dirrc_dirbaserMrc_fileargss r*compileMSVCCompiler.compileKs OO **  w ;G7%$* D!     : : ;    4 4 5 C  :Sggooc*d(((!CK ,,,!CK # +++ "S[ ,JJy72j)5LLM+++,- ,JJudFCHI gg..rww/?/?/DEGD! ggll64%<@GJJg>?#%?uD#NOOGG9|+g5D G$ KKECK0 1 KK ' ( 4 {B}  &*,&s++,2*,&s++,& ("3'' (s[J+$J=B$KK7+ J:9J:= K KK K4$ K//K47 L L  LcUR(dUR5 URX5upURX#S9nUR X5(acUSU-/-nU(a[ R "SURSRU55 URUR/U-5 g[ R "SU5 g![an[U5eSnAff=f)N)r/OUT:Executing "%s" %s skipping %s (up-to-date)) r}r_fix_object_argslibrary_filename _need_linkr rrr=rrr) r~routput_libnamerr target_langoutput_filenamelib_argsrs r*create_static_libMSVCCompiler.create_static_libs OO "33GH///V ??7 4 4'O";!<W=XX 4J)&(gg&6&6GG$$_5'#7!ggll:7L7LX7VW zK78+ ~.)IJJ KK # % -t{{CHHW[[RURS9nUR X5n[ TU]XS9sSSS5 $!,(df  WR$=f)N)PATH)rh)dictrr9r_fallback_spawnrzrre)r~rcrhfallbackrs r*rMSVCCompiler.spawnsK2::DKK0  ! !# +x7==., + +~~s A  A%c#T># [SS05"5nUv g![anS[U5;aeSnAOSnAff=f[R"S5 [ R RSU5 [TU]%U5Ul SSS5 g!,(df  g=f7f)z Discovered in pypa/distutils#15, some tools monkeypatch the compiler, so the 'env' kwarg causes a TypeError. Detect this condition and restore the legacy, unsafe behavior. BagNz!unexpected keyword argument 'env'z>Fallback spawn triggered. Please update distutils monkeypatch.z os.environ) typer!rwarningsrmockpatchrrzrre)r~rcrhbagrgrs r*rMSVCCompiler._fallback_spawns5"b!# I   2#c(BC   VW ZZ__\3 / c*CI0 / /s?B(B( A;B(A9B(9B B( B%!B(c SU-$)Nz /LIBPATH:rr~rs r*library_dir_optionMSVCCompiler.library_dir_options S  rPc[S5e)Nz:don't know how to set runtime library search path for MSVC)rrs r*runtime_library_dir_option'MSVCCompiler.runtime_library_dir_option"s$ H  rPc$URU5$r)r)r~rs r*library_optionMSVCCompiler.library_option's$$S))rPcU(aUS-U/nOU/nUHdnUH[n[RRXPRU55n[RR U5(dMWUs s $ Mf g)N_d)rrr=rrK)r~dirsrr try_namesrnamelibfiles r*find_library_fileMSVCCompiler.find_library_file*sj tS)IIC!'',,s,A,A$,GH77>>'**"N"rP)rrrrrr}rrrrrrrrrrr|rr)rrrr)NNNrNNN)NrN) NNNNNrNNNN)r)(__name__ __module__ __qualname____firstlineno____doc__ compiler_type executablesrrrrsrc_extensionsr obj_extensionstatic_lib_extensionshared_lib_extensionstatic_lib_formatshared_lib_format exe_extensionr{ classmethodr staticmethodrrpropertyrrrrr contextlibcontextmanagerrrrrr__static_attributes__ __classcell__)rs@r*rurusF3MKFM-OWNWN#_4~EVNMM!!,22)M! BBLLN d  \~NRC2!CCJ ++,! *rPrur)!r%rr;r2r  unittest.mockr suppress ImportErrorrr4rrrrr ccompilerr r _logr utilr itertoolsr r+rBPLAT_SPEC_TO_RUNTIMErOrirrrrurrPr*r>s %&2":'V  &4, x9xU&%s B  B