+
    UBi*f                       ^ RI Ht ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RI	t
^RIHtHt ^RIHtHtHtHtHt ^RIHt ^RIHt ^RIHt ^R	IHt ^R
IHt ^RIHt ^RI H!t! ^RI"H#t# ]
PH                  '       d/   ^ RI%H&t&H't' ^RIH(t( ^RI)H*t* ^RIH+t+ ^RIH,t,  ! R R]'4      t-]t.M]/t. ! R R]4      t0 ! R R]4      t1 ! R R4      t2 ! R R]!4      t3 ! R R].4      t4 ! R R ]]44      t5 ! R! R"]]44      t6 ! R# R$]]44      t7R+R% R& llt8]8]R'&   ]! R(]Pr                  ]Pt                  ]Pv                  .]0R)7      ;]R(&   t<]! R*]Pr                  ]Pt                  .]1R)7      ;]R*&   t=R# ),    )annotationsN)Path)mesonlibmlog)process_method_kwDependencyExceptionDependencyMethodsExternalDependencySystemDependency)ConfigToolDependency)packages)DependencyFactory)ExtraFrameworkDependency)PkgConfigDependency)detect_cpu_family)ExternalProgram)	OptionKey)Final	TypedDict)DependencyGenerator)Environment)MachineChoice)DependencyObjectKWsc                      ] tR t^t$ R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R	&   R
]R&   R
]R&   R
]R&   R]R&   R
]R&   RtR# )PythonIntrospectionDictzT.Dict[str, str]install_pathsboolis_pypyis_venvis_freethreadedlink_libpythonsysconfig_pathspathsstrplatformsuffixlimited_api_suffix	variablesversion N)__name__
__module____qualname____firstlineno____annotations____static_attributes__r*       C/usr/lib/python3.14/site-packages/mesonbuild/dependencies/python.pyr   r      sE    ''))##r1   r   c                  <   a  ] tR t^1tR.tRtRtR V 3R lltRtV ;t	# )Pybind11ConfigToolDependencyzpybind11-configTz--pkgconfigdirc               $    V ^8  d   QhRRRRRR/#    namer$   environmentr   kwargsr   r*   )formats   "r2   __annotate__)Pybind11ConfigToolDependency.__annotate__<   s'     R RS R{ RDW Rr1   c                	   < \         SV `  WV4       V P                  '       g   R # V P                  R.R4      V n        R # )Nz
--includescompile_argssuper__init__is_foundget_config_valuer?   selfr8   r9   r:   	__class__s   &&&&r2   rB   %Pybind11ConfigToolDependency.__init__<   s5    F3}}} 11<..Qr1   r?   )
r+   r,   r-   r.   toolsallow_default_for_crossskip_versionrB   r0   __classcell__rG   s   @r2   r4   r4   1   s&    E # $LR Rr1   r4   c                  4   a  ] tR t^CtR.tR V 3R lltRtV ;t# )NumPyConfigToolDependencyznumpy-configc               $    V ^8  d   QhRRRRRR/# r6   r*   )r;   s   "r2   r<   &NumPyConfigToolDependency.__annotate__G   s'     P PS P{ PDW Pr1   c                	   < \         SV `  WV4       V P                  '       g   R # V P                  R.R4      V n        R # )Nz--cflagsr?   r@   rE   s   &&&&r2   rB   "NumPyConfigToolDependency.__init__G   s5    F3}}} 11:,Or1   rI   )r+   r,   r-   r.   rJ   rB   r0   rM   rN   s   @r2   rP   rP   C   s    EP Pr1   rP   c                      ] tR t^Nt$ RtRtR]R&    Rt R R ltR R lt	R	 R
 lt
RR R lltR R ltR R lt]R R l4       t]P"                  R R l4       tRtR# )PythonBuildConfigz'PEP 739 build-details.json config file.z1.0z
Final[str]IMPLEMENTED_VERSIONc                    V ^8  d   QhRRRR/# )r7   pathr$   returnNoner*   )r;   s   "r2   r<   PythonBuildConfig.__annotate__]   s     	 	S 	T 	r1   c                	   \        V4      V n         \        P                  ! V P                  P	                  R R7      4      V n        T P                  4        T P                  4        R#   \         d   p\        RT 24      ThRp?ii ; i)utf8)encodingz$Failed to read python.build_config: N)
r   _pathjsonloads	read_text_dataOSErrorr   _validate_data_expand_paths)rF   rY   es   && r2   rB   PythonBuildConfig.__init__]   sy    $Z
	YDJJ$8$8&$8$IJDJ 		  	Y%(LQC&PQWXX	Ys   5A) )B4BBc                    V ^8  d   QhRRRR/# )r7   keyr$   rZ   T.Anyr*   )r;   s   "r2   r<   r\   h   s     N Ns Nu Nr1   c                	    \         P                  ! \        P                  VP	                  R 4      V P
                  4      # ).)	functoolsreduceoperatorgetitemsplitrd   rF   rk   s   &&r2   __getitem__PythonBuildConfig.__getitem__h   s)     0 0#))C.$**MMr1   c                    V ^8  d   QhRRRR/# )r7   rk   r$   rZ   r   r*   )r;   s   "r2   r<   r\   k   s        r1   c                	<     W,           R #   \          d     R# i ; i)TFKeyErrorrt   s   &&r2   __contains__PythonBuildConfig.__contains__k   s%    	I   		s    Nc               $    V ^8  d   QhRRRRRR/# )r7   rk   r$   defaultrl   rZ   r*   )r;   s   "r2   r<   r\   s   s!      s U e r1   c                	:     W,          #   \          d    Tu # i ; iNry   )rF   rk   r~   s   &&&r2   getPythonBuildConfig.gets   s#    	9 	N	s   
 c                   V ^8  d   QhRR/# r7   rZ   r[   r*   )r;   s   "r2   r<   r\   y   s       r1   c                	   V P                   R ,          p\        P                  ! VR4      '       d   \        RV 24      h\        P                  ! VR4      '       d   \        RV: RV P                  : 24      h\        P                  ! VRV P                   24      '       d,   \
        P                  ! RV: RV P                  : R	24       R
# R
# )schema_versionz< 1.0z/Invalid schema_version in python.build_config: z>= 2.0zUnsupported schema_version z; in python.build_config, but we only implement support for z> z'python.build_config has schema_version z$, but we only implement support for z$, new functionality might be missingN)rd   r   version_comparer   rW   r   log)rF   r   s   & r2   rf    PythonBuildConfig._validate_datay   s    $45##NG<<%(WXfWg&hii##NH==%-n-? @5595M5M4PR 
 ##Nb9Q9Q8R4STTHH9.9K L5595M5M4P Q55 Ur1   c                   V ^8  d   QhRR/# r   r*   )r;   s   "r2   r<   r\      s     	F 	Ft 	Fr1   c                @   V P                    F  pW9  d   K  VP                  R4      w  r#pV'       d	   W,          MV P                  p\        WT,          4      pVP	                  4       '       d   Kd  \
        P                  ! V P                  V,          4      WT&   K  	  R# )z7Expand relative path (they're relative to base_prefix).rn   N)
_PATH_KEYS
rpartitionrd   r   is_absoluteosfspathbase_prefix)rF   rk   parent_child	containerrY   s   &      r2   rg   PythonBuildConfig._expand_paths   sr    ??C"~~c2Fu(.DJJI	()D##%%#%99T-=-=-D#E	  #r1   c                   V ^8  d   QhRR/# r7   rZ   r   r*   )r;   s   "r2   r<   r\      s      T r1   c                	    V P                   # r   )r`   rF   s   &r2   config_pathPythonBuildConfig.config_path   s    zzr1   c                   V ^8  d   QhRR/# r   r*   )r;   s   "r2   r<   r\      s     . .T .r1   c                	    \        V P                  R ,          4      pVP                  4       '       d   V# V P                  P                  V,          # )r   )r   rd   r   r   r   )rF   rY   s   & r2   r   PythonBuildConfig.base_prefix   s@    DJJ}-.K&&--r1   )rd   r`   )base_interpreterzlibpython.dynamiczlibpython.dynamic_stableabizlibpython.staticzc_api.headersc_api.pkgconfig_pathr   )r+   r,   r-   r.   __doc__rW   r/   r   rB   ru   r{   r   rf   rg   propertyr   r   lazy_propertyr   r0   r*   r1   r2   rV   rV   N   sm    1&++/J >	N"	F   . .r1   rV   c                  `   a  ] tR t^tR
R V 3R lllt]R R l4       tR R ltR R ltR	t	V ;t
# )BasicPythonExternalProgramc               (    V ^8  d   QhRRRRRRRR/# )	r7   r8   r$   commandT.Optional[T.List[str]]ext_progzT.Optional[ExternalProgram]build_config_pathzT.Optional[str]r*   )r;   s   "r2   r<   'BasicPythonExternalProgram.__annotate__   s+        S  +B  6 $3 r1   c                	   < Vf   \         SV `  WRR7       M6Wn        VP                  V n        VP                  V n        R V n        RV n        V'       d   \        V4      MR V n        R/ RRRRRRR	RR
/ R/ RRRRRRR/ RR/V n	        RV n
        R # )NT)r   silentz	--versionr   r   Fr   r    r!   r"   r#   r%   sentinelr&   r'   r(   r)   z0.0)rA   rB   r8   r   rY   cached_versionversion_argrV   build_configinfopure)rF   r8   r   r   r   rG   s   &&&&&r2   rB   #BasicPythonExternalProgram.__init__   s     GT4@I#++DL DI"&D*DDU-.?@[_ RuuuerR
j *u0
	 	r1   c                   V ^8  d   QhRR/# r7   rZ   r$   r*   )r;   s   "r2   r<   r      s       r1   c                	
   V P                   '       d   V P                   R ,          R,          pM=V P                  R,          P                  R4      ;'       g    V P                  R,          p\        V\        4      '       g   Q hV# )languager)   r(   	LDVERSION)r   r   r   
isinstancer$   )rF   values   & r2   r)   "BasicPythonExternalProgram.version   se    %%j1)<EIIk*..{;SStyy?SE%%%%%r1   c                    V ^8  d   QhRRRR/# )r7   r)   r$   rZ   r   r*   )r;   s   "r2   r<   r      s      c d r1   c                	    V P                   R 8X  d   \        P                  ! VR4      # V P                   R8X  d   \        P                  ! VR4      # R# )python2z< 3.0python3>= 3.0T)r8   r   r   )rF   r)   s   &&r2   _check_version)BasicPythonExternalProgram._check_version   sC    99	!++GW==YY)#++GX>>r1   c                   V ^8  d   QhRR/# )r7   rZ   r   r*   )r;   s   "r2   r<   r      s     ! ! !r1   c                	D   V P                   '       dc   V P                   R ,          '       g   \        P                  ! R4       R# V P                   R,          '       g   \        P                  ! R4       R# ^ RIpVP                  P                  RR4      ;_uu_ 4       pV P                  4       \        V4      .,           p\        P                  P                  4       pRVR	&   \        P                  ! W4R
7      w  rVpRRR4        \        P                  ! X4      pVe=   V P%                  VR,          4      '       d   \&        P(                  ! RV4      V n        R# R#   + '       g   i     Li; i  \        P                   d    Rp\        P                  ! R\        XP                   4      TP"                  3,          4       \        P                  ! R4       \        P                  ! X4       \        P                  ! R4       \        P                  ! X4        ELi ; i)	libpythonz5This Python installation does not provide a libpythonFc_apiz/This Python installation does support the C APINzmesonbuild.scriptszpython_info.pystdlibSETUPTOOLS_USE_DISTUTILS)envz.Could not introspect Python (%s): exit code %dzProgram stdout:
zProgram stderr:
r)   r   T)r   r   debugimportlib.resources	resourcesrY   get_commandr$   r   environcopyr   
Popen_safera   rb   JSONDecodeErrorargs
returncoder   Tcastr   )	rF   	importlibfcmdr   pstdoutstderrr   s	   &        r2   sanity!BasicPythonExternalProgram.sanity   s    $$[11

RS$$W--

LM"  %%&:<LMMQR""$Ax/C**//#C.6C*+ ( 3 3C AAv	 N	::f%D  3 3DO D D8$?DI) NM ## 	DJJG3qvv;XYXdXdJeefJJ*+JJvJJ*+JJv	s    AEE0 E-	0B+HH)r   r   r   r   r8   rY   r   r   )NNN)r+   r,   r-   r.   rB   r   r)   r   r   r0   rM   rN   s   @r2   r   r      s1       D  ! !r1   r   c                  V    ] tR t^tR R ltR R ltR R ltR R ltRR	 R
 lltRt	R# )_PythonDependencyBasec               $    V ^8  d   QhRRRRRR/# )r7   python_holder'BasicPythonExternalProgram'embedr   for_machine'MachineChoice'r*   )r;   s   "r2   r<   "_PythonDependencyBase.__annotate__   s#     /7 /7&B /74 /7-/7r1   c                	d   W0n         W n        VP                  V n        V P                  '       d   V P                  R ,          R,          V n        V P                  R,          V n        RV P                  R,          R,          9   V n        V P                  R,          R,          V n        V P                  P                  P                  P                  4       '       d   \        R4      hMVP                  R,          V n        VP                  R,          V n        VP                  R	,          V n        VP                  R
,          V n        VP                  R,          V n        VP                  R,          V n        VP                  R,          V n        V P                  '       g   W n        RV n        \         P"                  ! V P                  R4      '       d	   ^V n        M^V n        \         P&                  ! 4       '       d1   V P
                  '       d   V ;P(                  R.,          un        R# R# R# )r   r)   r%   tabiflagsr   link_extensionsz0--python.build-config is not supported on Darwinr    r!   r   r(   r#   Nr   z-DPy_GIL_DISABLED)r   r   r   r)   r%   r    r!   r   machineshost	is_darwinr   r   r   r(   r#   r   r   major_version
is_windowsr?   )rF   r   r   r   s   &&&&r2   rB   _PythonDependencyBase.__init__   s   &
)66,,Z8CDL --j9DM#&$*;*;E*B7*K#KD "&"3"3K"@AR"SD xx  %%//11)*\]] 2 )--i8DL)..z:DM#0#5#56G#HD "/"4"45E"FD(--i8DL*//<DN"''0
 """"'26	##DLL(;;!"D!"D
   T%9%9%9"5!66 &: r1   c                    V ^8  d   QhRRRR/# )r7   r9   'Environment'rZ   r[   r*   )r;   s   "r2   r<   r   ,  s     ! !m ! !r1   c                	   V P                   '       d   V P                   R ,          P                  R4      pV'       g   \        R4      hVP                  V P                  ,          P                  4       ;'       g    RpW2,           p\        P                  P                  V4      '       g   \        R4      hV.V n	        RV n
        R# V P                  '       dT   V P                  ^8X  d   RpMRp\        P                  P                  V P                  P                  R	4      R
4      pV.pMeRV P                   2pRV P                  9   d   W@P                  R,          ,          pRV P                  9   d   W@P                  R,          ,          p. pV P                   P#                  WF4      pVe   Wpn	        RV n
        R# R# )r   dynamicz3Python does not provide a dynamic libpython library z6Python dynamic library does not exist or is not a fileTNzpypy3-czpypy-cbasebinpython	DEBUG_EXTABIFLAGS)r   r   r   
propertiesr   get_sys_rootr   rY   isfile	link_argsrC   r   r   joinr(   r)   clib_compilerfind_library)rF   r9   rY   sysrootlibnamelibdirlibdirslargss   &&      r2   
find_libpy _PythonDependencyBase.find_libpy,  s`   $$[155i@D)*_``!,,T-=-=>KKMSSQSG>D77>>$'')*bcc"VDN DM<<<!!Q&#"WW\\$.."4"4V"<eDFhGt||n-Gdnn,>>+66T^^+>>*55G""//A"N DM r1   c                   V ^8  d   QhRR/# r   r*   )r;   s   "r2   r<   r   M  s     W W Wr1   c                	r   V P                   P                  R 4      '       dT   RV P                   9   d   R# RV P                   9   d   R# RV P                   9   d   R# \        RV P                   : R24      hV P                   R8X  d   R# V P                   R	9   d   R# V P                   R
9   d   R# \        R4      h)mingwx86_64i686x86aarch64z)MinGW Python built with unknown platform z, please file a bugwin32z1Unknown Windows Python platform {self.platform!r}>   win64	win-amd64>   	win-arm64)r%   
startswithr   r   s   &r2   get_windows_python_arch-_PythonDependencyBase.get_windows_python_archM  s    ==##G,,4==(4==(dmm+ ),UVZVcVcUffy*z{{]]g%]]44]]m+!"UVVr1   c               $    V ^8  d   QhRRRRRR/# )r7   limited_apir   r9   r   rZ   r   r*   )r;   s   "r2   r<   r   _  s'     P P PM PVm Pr1   c                		   V P                   '       dy   V P                  '       d   R pMV'       d   RpMRpVP                  V P                  ,          P	                  4       ;'       g    RpW@P                   R,          V,          ,           .# V P
                  P                  R4      '       Ed   V P                  P                  R4      pV P                  P                  R4      pV P                  P                  RR	4      pV P                  '       d   \        R
4      RV R2,          pEM2V'       d
   V^ ,          pV P                  4       p	V	P                  R8X  dh   VR8X  d   VR8X  d   \        R4      pEMVR8X  d   \        RV R24      pEMV P                  '       d   \        R	V R24      pEM\        R	V R24      pEMV P                  '       d   \        R
4      R	V R2,          pM\        R
4      R	V R2,          pV P                  P                  P                  P!                  \#        R4      4      p
\%        V
\&        4      '       g   Q hV P                  P                  P                  P!                  \#        R4      4      pT;'       g    V
R8H  pRp\#        R4      V P                  P                  P                  9   d9   V P                  P                  P                  P!                  R4      pVR'9   d   RpV'       dT   V'       dL   V P                  P                  R4      '       g+   \(        P*                  ! \,        P.                  ! R4      4       \        V P                  P                  R4      4      V,          pMV P
                  P                  R4      '       d   V P                  '       dA   V'       d   V P                  P                  R4      pM[V P                  P                  R 4      pM?V'       d   V P                  P                  R!4      pMV P                  P                  R"4      p\        V P                  P                  R#4      4      V,          pM\0        P2                  ! R$4      hVP5                  4       '       g1   \(        P6                  ! R%P9                  \'        V4      4      4       R&# \'        V4      .# )(staticzdynamic-stableabir   r   r   winpy_version_nodotpy_version_shortimplementation_lowerr   libsz.agccpypyz3.8zlibpypy3-c.dlllibpypyz-c.dllzt.dllz.dllzt.libz.lib	buildtyper   Fb_vscrtTPy_DEBUGau                              Using a debug build type with MSVC or an MSVC-compatible compiler
                            when the Python interpreter is not also a debug build will almost
                            certainly result in a failed build. Prefer using a release build
                            type or a debug Python interpreter.
                            r   r  ABI3DLLLIBRARYLIBRARYABI3LDLIBRARY	LDLIBRARYLIBDIRzDOn a Windows path, but the OS doesn't appear to be Windows or MinGW.z#Could not find Python3 library {!r}N>   mddmtdfrom_buildtypestatic_from_buildtype)r   r  r   r   r   r%   r  r(   r   r   get_compileridr    r   coredataoptstoreget_value_forr   r   r$   r   warningtextwrapdedentr   MesonBugExceptionexistsr   r;   )rF   r  r9   rk   r  vernumverdot	imp_lowerlibpathcompr&  r   is_debug_buildvscrt_debugvscrtlibr  s   &&&              r2   get_windows_link_args+_PythonDependencyBase.get_windows_link_args_  s   {{{)!,,T-=-=>KKMSSQSG//<SAABB==##E**^^''(:;F^^''(:;F**+A8LI{{{v,9VHB)??#AYF((*77e# F*v"&'7"8"f,"&'?"@///&*VF85+A&BG&*VF84+@&AG+++"&v,6&1G"G"&v,6&1F"F !% 1 1 : : H HS^I_ `I%i5555 HH--66DDYwEWXE%*%B%Bi7.BN"'K +txx/@/@/I/II $ 1 1 : : H H S $]]*.K%+dnn>P>PQ[>\>\X__ 6  &! " t~~))-89GCC]]%%g..{{{"nn001ABG"nn00;G"nn00AG"nn00=Gt~~))(34w>C,,WY Yzz||HH:AA#c(KLCzr1   c               $    V ^8  d   QhRRRRRR/# )r7   r   r   r  r   rZ   r[   r*   )r;   s   "r2   r<   r     s"      m $ SW r1   c                    V P                  4       p\        TP                  P                  P                  4      pYS8w  dF   \        P                  ! R\        P                  ! T P                  4      RT RT 24       RT n        R# T P                  Y!4      pTf
   RT n        R# Y`n        RT n        R#   \         d2   p\        P                  ! \	        T4      4       RT n         Rp?R# Rp?ii ; i)zc
Find python3 libraries on Windows and also verify that the arch matches
what we are building for.
FNNeedzfor z, but found T)r  r   r   r   r$   rC   r   r4  	compilersr   boldr8   rE  r  )rF   r   r  pyarchrh   archr	  s   &&&    r2   find_libpy_windows(_PythonDependencyBase.find_libpy_windows  s    
	113F
 !!7!7!<!<=>HHVTYYtyy1T$|F83TU!DM**;<=!DM # 	HHSV!DM	s   B3 3C/>&C**C/)r   r   r   r   rC   r    r   r  r!   r   r#   r%   r(   r)   N)F)
r+   r,   r-   r.   rB   r
  r  rE  rN  r0   r*   r1   r2   r   r      s%    /7b!BW$Pd r1   r   c                  "    ] tR tRtR R ltRtR# )PythonPkgConfigDependencyi  c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r7   r9   r   r:   r   installationr   r   r   r   r   r*   )r;   s   "r2   r<   &PythonPkgConfigDependency.__annotate__  s:     .M .MM .M;N .M;.MDH.M-.Mr1   c                	L   V'       d1   \         P                  ! VP                  R ,          R4      '       d   RMRpRVP                   V 2pVP                  '       d   VP                  P                  R4      pRp	M$VP                  R,          P                  R4      pRp	Vf$   \        P                  ! R
V	 R24       RV n        R	# VP                  V,          P                  4       ;'       g    Rp
W,           p\        P                  ! RV: RV	 24       V'       d   V.M. p\        P                  ! WWVR7       \        P                  WVP                  RR4      V4       V'       d2   V P                  '       g    \        P                  ! V: RV	 R24       R	# V P                  '       g/   \         P                  ! V P                  R4      '       d   . V n        V P                   P"                  P$                  P'                  4       '       d   RV P(                  9   d   V P(                  R,          pVP+                  R4      '       dU   V ;P                  RV,           .,          un        V P,                  e$   V ;P,                  RV,           .,          un        R	# R	# R	# R	# R	# )r)   z>=3.8z-embedr   zpython-r   z1c_api.pkgconfig_path from the Python build configr(   LIBPCNzSkipping pkgconfig lookup, z	 is unsetFzSearching for z via pkgconfig lookup in )extra_pathsr   z could not be found in z7, this is likely due to a relocated python installationz< 3.8PYTHONFRAMEWORKPREFIXz/Applications/Xcode.app/z-Wl,-rpath,)r   r   r   r)   r   r   r   r   rC   r   r   r   rB   r   r!   r  r   r   r   r   r(   r  raw_link_args)rF   r9   r:   rS  r   r   	pkg_embedpkg_name
pkg_libdirpkg_libdir_originr  pkgconfig_pathsframework_prefixs   &&&&&&       r2   rB   "PythonPkgConfigDependency.__init__  s9    !&(*B*B<CTCTU^C_ah*i*iHoq	\1129+>$$$%22667MNJ S%**;7;;GDJ ' JJ45F4GyQR!DM((5BBDJJ)


^J>1JK\J]^_*4:,"$$T[Vef&&t6::gu;UWbcdmmmJJ(%<=N<O PO O P """x'?'?g'V'VDN 88!!++--2IT^^2[#~~.EF**+EFF=3C#C"DD%%1&&=;K+K*LL& 2 G 3\-r1   rC   r  Nr+   r,   r-   r.   rB   r0   r*   r1   r2   rQ  rQ    s    .M .Mr1   rQ  c                  "    ] tR tRtR R ltRtR# )PythonFrameworkDependencyi  c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# r7   r8   r$   r9   r   r:   r   rS  r   r   r   r*   )r;   s   "r2   r<   &PythonFrameworkDependency.__annotate__  s9     d dS d} d,d<Xd-dr1   c                	    \         P                  ! WW#4       \        P                  WVP                  R R4      V4       R# )r   FN)r   rB   r   r   )rF   r8   r9   r:   rS  r   s   &&&&&&r2   rB   "PythonFrameworkDependency.__init__  s2     	!))$kJ&&t6::gu;UWbcr1   r*   Nrb  r*   r1   r2   rd  rd    s    d dr1   rd  c                  8    ] tR tRtR R lt]R R l4       tRtR# )PythonSystemDependencyi  c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# rf  r*   )r;   s   "r2   r<   #PythonSystemDependency.__annotate__  s2     (" ("S ("} (",("<X("-("r1   c                	x   \         P                  ! WW#4       \        P                  WVP                  R R4      V4       V P                  P                  R4      '       d-   RRRV P                  P                  R4      .V n        RV n        MZV P                  '       dB   \        P                  ! 4       '       d   V P                  VRR7       MV P                  V4       MRV n        V P                  '       db   VP                  V,          P!                  4       ;'       g    R	p\        P"                  ! W`P                  R
,          R,          ,           .4      pMd\        P"                  ! V P                  P                  R4      V P$                  P                  R4      V P$                  P                  R4      .4      pT ;P&                  V Uu. uF  q'       g   K  RV,           NK  	  up,          un        \        P                  ! 4       '       dg   V P)                  4       P+                  R4      '       dB   \        P,                  ! V P.                  R4      '       d   V ;P&                  R.,          un        V P0                  P3                  RR	V P&                  R7      ^ ,          '       g
   RV n        R# R# u upi )r   Fzios-z
-frameworkPythonz-Fr   T)r  r   r   headers	INCLUDEPYincludeplatincludez-I64z<3.12z-DMS_WIN64=zPython.h)
extra_argsN)r   rB   r   r   r%   r  r(   r  rC   r!   r   r   rN  r
  r   r   r   
OrderedSetr#   r?   r  endswithr   r)   r  
has_header)	rF   r8   r9   r:   rS  r   r  	inc_pathsrY   s	   &&&&&&   r2   rB   PythonSystemDependency.__init__  s    	!!$kB&&t6::gu;UWbc
 ==##F++*HdDNN<N<N}<]^DN DM   ""$$'''G, DM !,,[9FFHNNBG ++W7H7H7QR[7\-\,]^I ++"";/

y)

}--/ 0I
 	iHid4kdTkkiHH   T%A%A%C%L%LT%R%RW_WoWoptp|p|  F  XG  XG-0!!,,ZHYHY,Z[\]]!DM ^ Is   	J7J7c                   V ^8  d   QhRR/# r   r*   )r;   s   "r2   r<   rm  3  s      s r1   c                 	    R # )	sysconfigr*   r*   r1   r2   	log_tried PythonSystemDependency.log_tried2  s    r1   ra  N)r+   r,   r-   r.   rB   staticmethodr~  r0   r*   r1   r2   rk  rk    s    ("T  r1   rk  c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r7   r   r   r   r   r:   r   rS  z(T.Optional['BasicPythonExternalProgram']rZ   zT.List['DependencyGenerator']r*   )r;   s   "r2   r<   r<   6  s2       O .!IUrr1   c           
     N   \        \        P                  \        P                  0V4      pVP	                  R R4      p. pVRJpVf+   \        R\        P                  4      pVP                  4        \        P                  V9   da   V'       d.   VP                  \        P                  ! \        WW5V4      4       M+VP                  \        P                  ! \        RW4      4       \        P                  V9   d-   VP                  \        P                  ! \        RWW14      4       \        P                  V9   dj   VP!                  4       p\        P"                  ! VP$                  R4      '       d   R.VR&   VP                  \        P                  ! \&        RWW14      4       V# )	r   FNr   r   z>= 3z/Library/Frameworksr#   ro  )r   r	   	PKGCONFIGSYSTEMr   r   r   python_commandr   appendro   partialrQ  r   rk  EXTRAFRAMEWORKr   r   r)   rd  )	r   r   r:   rS  methodsr   
candidatesfrom_installationnkwargss	   &&&&     r2   python_factoryr  6  sR   
  !2!<!<>O>V>V WY_`GJJw&E02J$D01)X=T=TU""g-i//0I3Xdmxyzi//0CYPS\]7*)++,BHc[guv''72++-##L$8$8&AA !66GG)++,ExQT_kyzr1   r   pybind11)configtool_classnumpyr   )>
__future__r   ro   ra   rq   r   r8  pathlibr   typingr   r   r   r   r   r   r   r	   r
   r   
configtoolr   detectr   factoryr   	frameworkr   	pkgconfigr   	envconfigr   programsr   optionsr   TYPE_CHECKINGtyping_extensionsr   r   r   r9   r   r   r   r   _Baseobjectr4   rP   rV   r   r   rQ  rd  rk  r  r  CONFIG_TOOLCMAKEpybind11_factorynumpy_factoryr*   r1   r2   <module>r     si   # . . .    q q ,  & / * ) & ???2,)())  EER#7 R$P 4 PQ. Q.hT TnNE Nb0M 35J 0Mfd 8:O d.-/D .`B % *;  "3"?"?ARAXAXY1+  ' %6  "3"?"?@.%  Mr1   