Jz`fVcsSSKrSSKrSSKr/SQrSrSrSrSSjrSSjrSr Sq S r Sq S r S rS rSqS rSrSrSrSrSrSrSrSrSrSrSrg)N)compiler_fixupcustomize_config_varscustomize_compilerget_platform_osx) CFLAGSZLDFLAGSZCPPFLAGSZ BASECFLAGS BLDSHAREDLDSHAREDCCCXXZ PY_CFLAGSZ PY_LDFLAGSZ PY_CPPFLAGSZPY_CORE_CFLAGSZPY_CORE_LDFLAGS)rrrr Z_OSX_SUPPORT_INITIAL_csUc[RSnUR[R5n[RR U5up4[ RS:Xa US:waUS-n[RRU5(dQUHJn[RRXP5n[RRU5(dMHUs $ gU$)NZPATHZwin32z.exe) osenvironsplitZpathseppathZsplitextsysZplatformZisfilejoin)Z executabler ZpathsZbaseZextZpfs %/usr/lib64/python3.13/_osx_support.py_find_executablers  |zz&! JJrzz "E  ,ID cVm&( 77>>* % % A Q+Aww~~a     csSSKnSSKnUR5nURU5nU(aU<SUR<S3nOU<SUR<S3n[ R"U5(d-UR5RS5R5OSsSSS5 $![a& [ S[ R "5<3S5nNf=f!,(df  g=f) Nrz/tmp/_osx_support.zw+bz >'z' 2>&1z 2>/dev/null >''utf-8) contextlibtempfileZNamedTemporaryFileZ ImportErroropenr ZgetpidZclosingZnamesystemreadZdecodestrip)Z commandstringZcapture_stderrrrZfpZcmd r _read_outputr7s "  ( ( *   B Q2 %2BGGProductUserVisibleVersion\s*(.*?).) _SYSTEM_VERSIONrresearchrZclosergroupr ZOSError)rm r_get_system_versionr*Vs FGRYZA  II89:C }"%((1771:+;+;C+@!+D"E ?      s B!%B B! B32B3cs[c9[5nU(a([SURS555q[$[$![a Sq[$f=f)Nc36# UHn[U5v M g7fNZint.0ir)r Z,_get_system_version_tuple..s-Uc!ff-Ur!)_SYSTEM_VERSION_TUPLEr*tupler ValueErrorZ osx_versionrr_get_system_version_tupler8usb$)+  +(--Uk>O>OPS>T-U(U% !   +(*%   +s!A AAcsd[U5H!nUR[5(dMX M# gr,)list startswith_INITPRE) _config_varsZkr)r_remove_original_valuesr=s,,   << ! ! rcsjURUS5nX2:wa[U-U;a X0[U-'X U'g)Nr)getr;)r<cvZnewvalueZoldvalue r_save_modified_valuerAs;B'H8b= #D&.X]#rcst[b[$[U<S3S5nSnUR5HwnURS5(aSnMURS5(aSnM7U(dM@UR 5nUS:XaSqMZUR S5(dMrUSS qMy [cSq[$) Nz -c -E -v - zEnd of search listz /usr/includeZ/z.sdk/usr/includei)_cache_default_sysrootrZ splitlinesr:rZendswith)ccZcontentsZ in_incdirsZliner@r_default_sysrootrDs)%%">EHJ##% 4 ??+ , ,J __1 2 2J Z:: J$&!'*B /1 1 {( KB!b &:'+113$&%KbR$Y $\sxx7IJ  K rcs[HmnX;dM U[R;dM Xn[R"SSU[R S9n[R"SSU5n[ XU5 Mo U$)N -arch\s+\w+\srJ)flagsz-isysroot\s*\S+)_UNIVERSAL_CONFIG_VARSr r r%subZASCIIrA)r<r?rOs r_remove_universal_flagsrRsj%: "BJJ"6 $EFF+S%rxxHEFF-sE:E 5 9 : rcsvS[R;aU$[R"SUS5b[R"SUSR SS5<S35nU(aR[ HHnX ;dM U[R;dM Xn[R"SS U5n[XU5 MJ U$) Nrz -arch\s+ppcrzecho 'int main{};' | 'rrIz6' -c -arch ppc -x c -o /dev/null /dev/null 2>/dev/nullz-arch\s+ppc\w*\srJ) r r r%r&rrKrPrQrA)r<Zstatusr?rOr@r_remove_unsupported_archsrSs rzz yyh!78D4 ((i8 ;< - B%"BJJ*>(,EFF#6UCE(5A  B rcsS[R;aa[RSn[HDnX ;dM SX;dMXn[R"SSU5nUS-U-n[ XU5 MF U$)N ARCHFLAGS-archrNrJ)r r rPr%rQrA)r<Zarchr?rOr@r_override_all_archsrV:sx bjj zz+&( >B!g1A&A$(/e< d*$\u=  > rcslURSS5n[R"SU5nUbURS5n[R R U5(dR[HHnX@;dM U[R;dM Xn[R"SSU5n[XU5 MJ U$)Nrrz-isysroot\s*(\S+)r"z-isysroot\s*\S+(?:\s|$)rJ) r>r%r&r'r r ZexistsrPr rQrA)r<cflagsr(Zsdkr?rOrr_check_for_unavailable_sdkrXKs  h +F &/A}ggajww~~c"", B%"BJJ*>(,EFF#=sEJE(5A  B rcspS=p#[U5n[5(dS=p#OSU;n[SU55nU(dS[R;aUR S5nXUS-2 M[5(dB[[[U555H!nXS:XdM XS-S:XdMXUS-2 M# S[R;a+U(d$U[RSR5-nU(a][U5VVs/sHupgURS 5(dMUPM! nnnU(dOUS nXS :XaXUS-2 OXUS-2 M\Sn Un [U5VVs/sHupgURS 5(dMUPM! nnnU(d8Un [U5VVs/sHupgURS 5(dMUPM! nnnUH$nXS :Xa XS-n OX[S 5Sn O U (a[RRU 5(d`[ R"R%S U S 35 [ R"R%S 5 [ R"R'5 U$![ a GMf=fs snnfs snnfs snnf)NFTrUc3sR# UHoRS5(dMUv M g7f) -isysrootN)r:)r/Zargr)rr1Z!compiler_fixup..ysQ3^^K5P33Qs' 'rTr#r"arm64rYrz2Compiling with an SDK that doesn't seem to exist: Z z%Please check your Xcode installation )r9rGZanyr r indexr6rHZreversedZrangelenr Z enumerater:r ZisdirrZstderrZwriteZflush) Z compiler_soZcc_argsZ stripArchZ stripSysrootr[Zidxr0ZxZindicesZsysrootZargvars rrrfs %$I{#K % ' '$(' Lw& Q'QQ K2::- #))'2eAg . $ % %E#k"234 +C7*{q5/AW/LCE * +bjj "BJJ{$;$A$A$CC $-k$:XSQall;>WqXGXAJE![0eAg . eAg .G F%g.LSQ!,,{2KqLGL  )+ 6T!,,{:S1TT ;+ %UmG k#k"2"34G  rww}}W-- MgYVXYZ AB  e   Y MUs6JJ&5J&6J,J,5J2J2 J#"J#csf[5(d [U5 [U5 [U5 U$r,)rGrRrVrXr<rrrrs12 & ' ' - %|, rcsH[U5 [U5 [U5 U$r,)rMrSrVr]rrrrs&|,l+ % rcsFURSS5nU(a SU;aUS- n[5=(d UnU=(d UnU(GaBUnSnUR[S-URSS55nU(a&[SUR S5SS 55nOS nUS :aS UR 5;aS n[R"SU5n[[[U555n[U5S:XaUSnOUS:XaSnOxUS:XaS nOoUS:XaSnOfUS:XaSnO]US:XaSnOTUS:XaSnOK[ SU<35eUS:Xa[RS:aSnOUS;a[RS:aS nOS!nXU4$![ a S nNf=f)"NZMACOSX_DEPLOYMENT_TARGETrr!z.0Zmacosxrc3r+r,r-r.r)rr1Z#get_platform_osx..s"Na3q66"Nr2rr#)rFirErUZfatz -arch\s+(\S+)r")rZx86_64Z universal2)i386ppc)r_r^Zintel)r_r`r^Zfat3)ppc64r^Zfat64)r_r`rar^Z universalz#Don't know machine value for archs=r_lr^)ZPowerPCZPower_Macintoshrar`)r>r*r;r5r r6rr%ZfindallZsortedZsetr\rZmaxsize)r<ZosnameZreleaseZmachineZmacverZ macreleaserWZarchss rrrs  8" =F #V# $$&0&J  !zF  !!(8"3$0$4$4Xr$BD  %""N:3C3CC3H13M"NN !J ' !w&,,.'@GJJ/8E&U,-E5zQ(--&/),,!33 --!<<% >CEGG {{e#" 6 6{{e#! W %%a %$  %s$F F F r,)F)r r%rZ__all__rPrLr;rrr r$r*r4r8r=rArBrDrGrHrMrRrSrVrXrrrrr3rrrbs  A ? #4Q,<!&  "2B<;| %P"6M`&R(P&r