+
    \i                       R t ^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
t^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	Ht ]P<                  R`8  d   ^ RIt M^ RI t ^ RI!t"^ RI#t"^ RI$t$^ RI%t&^ RI't&^ RI(t&^ RI)t&^ RI*H+t+  ^ RI,H-t-H.t. ]Pb                  '       dZ   ^ R
IH2t2H3t3H4t4H5t5H6t6H7t7H8t8H9t9H:t:H;t;H<t<H=t=H>t> ^ RI*H?t?H@t@HAtAHBtBHCtCHDtD ]B! R4      tE]=! R4      tF]7Ra,          tG]A]G]6]H,          3,          tIRtJ]K! ]L! ]M]$P                  P                  R4      R,          4      4      tO]ORb8  d   R0M0 RcmtPRtQRtR. RaOtS]P                  P                  4       tV]P                  ! R4      tX]Y;QJ d0    R ]P                  P                   4       F  '       d   K   RM%	  RM!! R ]P                  P                   4       4      '       g   Q hRRRRRRRRRR R!R"R#R$R%R$/t[R& R' lt\R( R) lt] ! R* R+4      t^]	P                  ! 4       R, R- l4       t`R. R/ ltaRdR0 R1 lltb ! R2 R34      tc ! R4 R5]d4      te ! R6 R7]e4      tf ! R8 R9]e4      tg ! R: R;]e4      th ! R< R=]$P                  4      tjR> R? ltk ! R@ RA4      tl ! RB RC]l4      tmRD RE ltnRF RG lto ! RH RI4      tp]P                  ReRJ RK ll4       trRL RM ltsReR]R/RN RO lllttR]Q/RP RQ lltuRR RS ltvRT RU ltw]wReRV RW ll4       tx]wReRX RY ll4       ty]ytz]wReRZ R[ ll4       t{]wRdR\ R] ll4       t|]wRdR^ R_ ll4       t}R#   ]/ d    R R lt. ! R R	]04      t- ELi ; i)fz6Meson Python build backend

Implements PEP 517 hooks.
)annotationsN)cached_property)read_binary)InvalidLicenseExpressioncanonicalize_license_expressionc                    V ^8  d   QhRRRR/# )   sstrreturn )formats   "\/home/piyush/.cache/uv/builds-v0/.tmpPfdyTF/lib/python3.14/site-packages/mesonpy/__init__.py__annotate__r   @   s      3 3     c                6    \         P                  ! R ^R7       V # )zcanonicalization and validation of license expression in "project.license" as defined by PEP-639 requires packaging version 24.2 or later.
stacklevel)warningswarn)r	   s   &r   r   r   @   s    NZ[	] r   c                      ] tR t^FtRtR# )r   r   N)__name__
__module____qualname____firstlineno____static_attributes__r   r   r   r   r   F   s    r   r   )AnyCallableDefaultDictDictListLiteralOptionalSequenceTextIOTupleTypeTypeVarUnion)
CollectionIteratorMapping	ParamSpecPathSelfPTz0.19.0.:Nr   Nversionz1.8.2z0.63.3z,^[^.]+\.(?:(?P<abi>[^.]+)\.)?(?:so|pyd|dll)$c              #  ^   "   T F#  p\         P                  ! \        R V 24      x  K%  	  R# 5i)fooN)rematch_EXTENSION_SUFFIX_REGEX.0xs   & r   	<genexpr>r;   c   s'     
hAgA288+s1#Y77Ags   +-FTz{bindir}scriptsz{py_purelib}purelibz{py_platlib}platlibz{moduledir_shared}z{includedir}headersz	{datadir}dataz{libdir}mesonpy-libsz{libdir_shared}c                    V ^8  d   QhRRRR/# )r   patterns	List[str]r   Callable[[str], bool]r   )r   s   "r   r   r   t   s     6 6	 6.C 6r   c                    V '       g   R  # \         P                  ! RP                  R V  4       4      4      P                  p\        P
                  ! RV4      # )c                    R # Fr   )r:   s   &r   <lambda>#_compile_patterns.<locals>.<lambda>v   s    r   |c              3     "   T F8  p\         P                  ! \        P                  P	                  V4      4      x  K:  	  R # 5iN)fnmatch	translateospathnormpathr9   ps   & r   r;   $_compile_patterns.<locals>.<genexpr>w   s-     Xx!w001A1A!1DEExs   A ArE   )r5   compilejoinr6   typingcast)rC   funcs   & r   _compile_patternsr[   t   s@    ::chhXxXXY__D;;.55r   c               (    V ^8  d   QhRRRRRRRR/# )r   sourceszDict[str, Dict[str, Any]]excluderD   includer   0DefaultDict[str, List[Tuple[pathlib.Path, str]]]r   )r   s   "r   r   r   {   s0     : :&:: : 6	:r   c                  a \         P                  ! \        4      p/ p\        V4      p\        V4      pV P	                  4        EF  w  rxVP	                  4        EF  w  r\
        P                  P                  V
R,          4      pV! V4      '       d   V! V4      '       g   KJ  \        P                  ! V4      oSP                  ^ ,          p\        P                  ! SP                  R,          !  p\        P                  V4      pVf   \        R\        S4      : 24      hVR8X  g   VR8X  d   SP                  ^,          pVP                  W4      pVV8w  d   \
        P                   ! \        P                  ! V.SP                  R,          O5!  4      p\
        P                   ! V\#        V3R lVV,           4       4      ,          4      p\        RV RV R	V R
V: R	V: R24      hVR8X  g/   VR8X  Ed   \
        P                  P%                  V	4      '       Ed   V
P                  R. 4       Uu0 uF"  p\
        P                  P                  V4      kK$  	  ppV
P                  R. 4       Uu0 uF"  p\
        P                  P                  V4      kK$  	  pp\
        P&                  ! V	4       EF  w  pppVP)                  4        F]  p\
        P                  P+                  VV4      p\
        P                  P-                  VV	4      pVV9   g   KL  VP/                  V4       K_  	  VP1                  4        \3        V4       Fn  p\
        P                  P+                  VV4      p\
        P                  P-                  VV	4      pVV9   d   KL  VV,          pW>,          P5                  VV34       Kp  	  EK	  	  EKh  W>,          P5                  W34       EK  	  EK  	  V# u upi u upi )zBMap files to the wheel, organized by wheel installation directory.destination:   NNzBCould not map installation path to an equivalent wheel directory: r=   r>   c              3     <"   T F4  w  rVP                   ^ ,          SP                   ^,          8X  g   K0  Vx  K6  	  R# 5i)    N)parts)r9   dr	   rb   s   &  r   r;    _map_to_wheel.<locals>.<genexpr>   s8     1y@RVWV]V]^_V`doduduvwdxVx!!@Rs   -?
?zThe z package is split between z and z: z, a "pure: false" argument may be missing in meson.build. It is recommended to set it in "import('python').find_installation()"install_subdirstargetsexclude_filesexclude_dirs)collectionsdefaultdictlistr[   itemsrP   rQ   rR   pathlibr-   rf   _INSTALLATION_PATH_MAPget
BuildErrorr
   
setdefaultfspathnextisdirwalkcopyrW   relpathremovesortsortedappend)r]   r^   r_   wheel_filespackagesexcludedincludedkeygroupsrctargettarget_destinationanchordstrQ   packageotherthisthatr:   rk   rl   rootdirnames	filenamesnamedirsrcr{   filesrcfiledstrb   s   &&&                           @r   _map_to_wheelr   {   s-    EPD[D[\`DaK!H )H )Hmmo
 ;;=KC!#!1!1&2G!H*++H=O4P4P!,,'9:K &&q)F,, 1 1" 56C)--f5D| #efijufvey!z{{y DI$5%++A. ++G:D=99W\\$%O9J9J29N%OPD99UT1yE@R1y-y%yzD$wi'A$uUGSU(%x 0bcd d
 ''3)+;c@R@R>DjjZ\>] ^>]!1!1!!4>] ^=CZZXZ=[\=[ 0 0 3=[\13-D(I (!#dD!9"$''//&#">"l2$OOD1	 !0 MMO &y 1"$'',,tT":"$''//'3"?"m3$"%-#)00'71CD !2 2>  !((#4Y ) &^ ) !_\s   6(O&4(O+c                  <    ] tR t^tRtRtRtRt]R R l4       t	Rt
R# )	stylez[31mz[93mz	[36m[1mz[0mc                    V ^8  d   QhRRRR/# )r   stringr
   r   r   )r   s   "r   r   style.__annotate__   s     = =c =c =r   c                2    \         P                  ! RRV 4      # )z(Strip ANSI escape sequences from string.z\033\[[;?0-9]*[a-zA-Z] )r5   subr   s   &r   stripstyle.strip   s     vv/V<<r   r   N)r   r   r   r   ERRORWARNINGINFORESETstaticmethodr   r   r   r   r   r   r      s(    EGDE= =r   r   c                   V ^8  d   QhRR/# r   r   boolr   )r   s   "r   r   r      s      4 r   c                    \         P                  P                  RR7       R\        P                  9   d   R# R\        P                  9   gI   \         P                  P                  4       '       d   \        P                  P                  R4      R8w  d[   \         P                  R8X  dD   \        P                  P                  R	4      '       g   \        P                  P                  4       # R
# R# )z2Determine whether logging should use ANSI escapes.replace)errorsNO_COLORFFORCE_COLORTERMdumbwin32ANSICONT)sysstdoutreconfigurerP   environisattyrs   platformmesonpy_utilsetup_windows_consoler   r   r   _use_ansi_escapesr      s     JJ),RZZ

"cjj&7&7&9&9bjjnnV>TX^>^<<7"2::>>)+D+D==6688r   c               $    V ^8  d   QhRRRRRR/# )r   r   r
   kwargsr   r   Noner   )r   s   "r   r   r      s!         r   c                h    \        4       '       g   \        P                  V 4      p \        V 3/ VB  R # rM   )r   r   r   print)r   r   s   &,r   _logr      s&    V$	&Fr   c               4    V ^8  d   QhRRRRRRRRR	R
RRRR/# )r   messagezUnion[Warning, str]categoryzType[Warning]filenamer
   linenointfilezOptional[TextIO]lineOptional[str]r   r   r   )r   s   "r   r   r      sW     	J 	J 	J	J 	J 		J
 	J 	J 
	Jr   c                d    \        \        P                   R\        P                   RV  24       R# )zICallable to override the default warning handler, to have colored output.zmeson-python: warning: N)r   r   r   r   )r   r   r   r   r   r   s   &&&&&&r   _showwarningr      s&     	EMM?0Qwi	HIr   c                  F    ] tR t^tR R ltR R ltR R ltR R ltR	tR
# )_clicounterc                    V ^8  d   QhRRRR/# )r   totalr   r   r   r   )r   s   "r   r   _clicounter.__annotate__   s     / /c /d /r   c                	J    Wn         \        P                  ! ^R7      V n        R# )rc   )startN)_total	itertoolscount_count)selfr   s   &&r   __init___clicounter.__init__   s    ooA.r   c                   V ^8  d   QhRR/# )r   r   r.   r   )r   s   "r   r   r      s      4 r   c                	    V # rM   r   r   s   &r   	__enter___clicounter.__enter__   s    r   c                    V ^8  d   QhRRRR/# )r   descriptionr
   r   r   r   )r   s   "r   r   r      s      # $ r   c                	    R \        V P                  4       RV P                   RV 2p\        4       '       d   \	        RVRRRR7       R# \	        V4       R# )	[/z] r   z[0KT)sependflushN)rw   r   r   r   r   )r   r   r   s   && r   update_clicounter.update   sH    4$%Qt{{m2k]C$"($?$Kr   c               (    V ^8  d   QhRRRRRRRR/# )r   exc_typer   	exc_valueexc_tbr   r   r   )r   s   "r   r   r      s(        c d r   c                	>    \        4       '       d   \        4        R # R # rM   )r   r   )r   r   r   r   s   &&&&r   __exit___clicounter.__exit__   s    G r   )r   r   N)	r   r   r   r   r   r   r   r   r   r   r   r   r   r      s    / r   r   c                  "    ] tR t^tR R ltRtR# )Errorc                   V ^8  d   QhRR/# r   r   r
   r   )r   s   "r   r   Error.__annotate__   s     ! ! !r   c                	:    \        V P                  ^ ,          4      # re   )r
   argsr   s   &r   __str__Error.__str__   s    499Q<  r   r   N)r   r   r   r   r   r   r   r   r   r   r      s    ! !r   r   c                      ] tR tRtRtRtR# )ConfigErrori  z#Error in the backend configuration.r   Nr   r   r   r   __doc__r   r   r   r   r   r     s    -r   r   c                      ] tR tRtRtRtR# )rt   i  zError when building the wheel.r   Nr   r   r   r   rt   rt     s    (r   rt   c                      ] tR tRtRtRtR# )MesonBuilderErrori  z&Error when building the Meson package.r   Nr   r   r   r   r  r    s    0r   r  c                     a  ] tR tRtR V 3R llt]]P                  P                  R3R V 3R lll4       t	]
R R l4       tR	tV ;t# )
Metadatai  c               $    V ^8  d   QhRRRRRR/# )r   r   r
   r   r   r   r   )r   s   "r   r   Metadata.__annotate__  s!     0 0S 0 0 0r   c                	   < \         P                  ! R V\         P                  4      '       g   \        P                  ! RV R24      h\
        SV `  ! V.VO5/ VB  R# )z)^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$zInvalid project name "z". A valid name consists only of ASCII letters and numbers, period, underscore and hyphen. It must start and end with a letter or numberN)r5   r6   
IGNORECASEpyproject_metadataConfigurationErrorsuperr   )r   r   r   r   	__class__s   &&*,r   r   Metadata.__init__  s\    xxDdBMMZZ$77( /h ij j 	///r   Nc               (    V ^8  d   QhRRRRRRRR/# )	r   r@   zMapping[str, Any]project_dirr-   metadata_versionr   r   r.   r   )r   s   "r   r   r    s2        (	
 
r   c                	N  < \         SV `  WV4      p\        VP                  4      \        ,
          pV'       d2   R P                  R V 4       4      p\        P                  ! RV 24      h\        VP                  \        4      '       d   \        VP                  4      Vn	        V# )z, c              3  .   "   T F  pR V R 2x  K  	  R# 5i"Nr   r8   s   & r   r;   *Metadata.from_pyproject.<locals>.<genexpr>%  s     E1DA1#Qx1D   zUnsupported dynamic fields: )r  from_pyprojectsetdynamic_SUPPORTED_DYNAMIC_FIELDSrW   r  r  
isinstancelicenser
   r   )clsr@   r  r  metadataunsupported_dynamicfieldsr  s   &&&&   r   r  Metadata.from_pyproject  s     7)$=MN "("2"236OOYYE1DEEF$77:VW]V^8_`` h&&,,>x?O?OPHr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r  /  s     5 53 5r   c                :    V P                   P                  RR4      # )z.Name to be used in wheel and sdist file names.-_)canonical_namer   r   s   &r   distribution_nameMetadata.distribution_name.  s     ""**344r   r   )r   r   r   r   r   classmethodrP   rQ   curdirr  propertyr)  r   __classcell__)r  s   @r   r  r    sJ    0 0  GGNN*.	  ( 5 5r   r  c                    V ^8  d   QhRRRR/# )r   r   r-   r   r   r   )r   s   "r   r   r   4  s     + +T +d +r   c                   \        V R4      ;_uu_ 4       p\        P                  R8X  d   VP                  ^4      R9   uuRRR4       # \        P                  R8X  g   \        P                  R8X  d   VP                  ^4      R8H  uuRRR4       # VP                  ^4      R8H  uuRRR4       #   + '       g   i     R# ; i)	zCheck if file is a native file.rbdarwinNr   cygwins   MZs   ELF)s   s   s   s   )openr   r   read)r   fs   & r   
_is_nativer7  4  s     
dD		Q<<8#66!9 !  
	 \\W$(@66!9% 
	 66!9
* 
			s   )B/	=B/B//C 	c                  <   ] tR tRtRtR R lt]R R l4       t]R R l4       t]	R	 R
 l4       t
]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]	R R l4       tR R ltR R ltR R  ltR!tR"# )#_WheelBuilderiF  z+Helper class to build wheels from projects.c          
     ,    V ^8  d   QhRRRRRRRRRR	/# )
r   r   r  manifestz)Dict[str, List[Tuple[pathlib.Path, str]]]limited_apir   allow_windows_shared_libsr   r   r   )r   s   "r   r   _WheelBuilder.__annotate__I  sC     
D 
D
D <
D 	
D
 $(
D 

Dr   c                	6    Wn         W n        W0n        W@n        R # rM   )	_metadata	_manifest_limited_api_allow_windows_shared_libs)r   r   r;  r<  r=  s   &&&&&r   r   _WheelBuilder.__init__I  s     "!'*C'r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r>  V  s     8 8D 8r   c                	J    \        V P                  P                  R 4      4      # )rA   r   rA  rs   r   s   &r   _has_internal_libs _WheelBuilder._has_internal_libsU  s    DNN&&~677r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r>  Z  s     3 3 3r   c                	J    \        V P                  P                  R 4      4      # )r>   rG  r   s   &r   _has_extension_modules$_WheelBuilder._has_extension_modulesY  s     DNN&&y122r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r>  _  s      t r   c                    V P                   R,          '       g   V P                   R,          '       d   R# V P                   R,           F  w  r\        V4      '       g   K   R# 	  R# )z-Whether the wheel is architecture independentr>   rA   Fr<   T)rA  r7  )r   r'  r   s   &  r   _pure_WheelBuilder._pure^  sO     >>)$$~(F(F~~i00GA$ 1 r   c                   V ^8  d   QhRR/# )r   r   zmesonpy._tags.Tagr   )r   s   "r   r   r>  i  s     
? 
?& 
?r   c                $   V P                   '       d"   \        P                  P                  RRR4      # V P                  '       g"   \        P                  P                  RRR4      # \        P                  P                  RV P
                  R4      # )zWheel tags.py3noneanyN)rP  r   _tagsTagrL  _stable_abir   s   &r   tag_WheelBuilder.tagh  sl     :::==$$UFE::***
 ==$$UFD99}}  t'7'7>>r   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r>  v  s     Y Yc Yr   c                z    V P                   P                   RV P                   P                   RV P                   2# )z/Wheel name, this includes the basename and tag.r&  )r@  r)  r2   rZ  r   s   &r   r   _WheelBuilder.nameu  s5     ..2231T^^5K5K4LAdhhZXXr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r>  {  s     X Xs Xr   c                	b    V P                   P                   R V P                   P                   R2# )r&  z
.dist-infor@  r)  r2   r   s   &r   _distinfo_dir_WheelBuilder._distinfo_dirz  s+    ..2231T^^5K5K4LJWWr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r>    s     S S3 Sr   c                	b    V P                   P                   R V P                   P                   R2# )r&  z.datara  r   s   &r   	_data_dir_WheelBuilder._data_dir~  s+    ..2231T^^5K5K4LERRr   c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r>    s     C C3 Cr   c                	6    R V P                   P                   R2# )r1   z.mesonpy.libs)r@  r)  r   s   &r   	_libs_dir_WheelBuilder._libs_dir  s    4>>334MBBr   c                   V ^8  d   QhRR/# r   r   bytesr   )r   s   "r   r   r>    s     
 
u 
r   c                    \         P                  ! R4      P                  4       P                  V P                  '       d   RMRV P
                  R7      P                  4       # )z Return WHEEL file for dist-info.z
            Wheel-Version: 1.0
            Generator: meson
            Root-Is-Purelib: {is_purelib}
            Tag: {tag}
        truefalse)
is_purelibrZ  )textwrapdedentr   r   rP  rZ  encoder   s   &r   wheel_WheelBuilder.wheel  sN        
 UWVV!%v  
 &(	r   c                   V ^8  d   QhRR/# rm  r   )r   s   "r   r   r>    s       r   c                   V P                   P                  P                  4       pVP                  RV P                   P                  RV P                   P
                  /4       RpV FV  pW,          '       g   K  VRV R2,          pW,          P                  4        F  w  rEW$ RV R2,          pK  	  VR,          pKX  	  VP                  4       # )zdist-info entry_points.txt.console_scriptsgui_scriptsr   r   z]
z = 
)r@  entrypointsrz   r   r<   r{  rp   ru  )r   r@   text
entrypointr   r   s   &     r   entrypoints_txt_WheelBuilder.entrypoints_txt  s     ~~))..0t~~554>>55
 	
 J!J<s++$($4$:$:$<LDfCxr22D %=  {{}r   c                   V ^8  d   QhRR/# r   r   r   r   )r   s   "r   r   r>    s      ] r   c                	f   V P                   '       d   R \        P                  9  d   V P                  R,           Fp  w  r\        P                  VP                  4      pV'       g   K.  VP                  R4      pVf   KE  VR8w  g   KN  \        R\        P                  ! V4      : R24      h	  R# R# )__pypy__r>   abiNabi3zPThe package declares compatibility with Python limited API but extension module z) is tagged for a specific Python version.)rB  r   builtin_module_namesrA  r7   r6   r   r   rt   rP   rv   )r   rQ   r'  r6   r  s   &    r   rY  _WheelBuilder._stable_abi  s     33K3K!K
  >>)44/55dii@5++e,C3&=(&&(iio%88acd d 5 r   c               (    V ^8  d   QhRRRRRRRR/# )	r   
wheel_filemesonpy._wheelfile.WheelFileoriginr-   rb   pathlib.Pathr   r   r   )r   s   "r   r   r>    s+      (D d am rv r   c                   V P                   '       d   \        V4      '       d   \        P                  R8X  d   V P                  '       g   \        R4      h\        P                  P                  V P                  VP                  4      p\        P                  P                  W$4        VP                  W#P                  4       4       R#   \          d1    \        P"                  ! T4      P%                  R4      '       g   h  R# i ; i)zAdd a file to the wheel.r   zLoading shared libraries bundled in the Python wheel on Windows requires setting the DLL load path or preloading. See the documentation for the "tool.meson-python.allow-windows-internal-shared-libs" option.z.pdbN)rH  r7  r   r   rC  NotImplementedErrorrP   rQ   r{   rj  parentr   _rpath	fix_rpathwriteas_posixFileNotFoundErrorrv   endswith)r   r  r  rb   libspaths   &&&& r   _install_path_WheelBuilder._install_path  s     """&!!<<7*43R3R3R-]^ ^ 77??4>>;;M;MN((:	V%9%9%;<  	99V$--f55 6	s   *C 5DDDc                    V ^8  d   QhRRRR/# )r   whlr  r   r   r   )r   s   "r   r   r>    s     \ \)E \$ \r   c           	     	X   VP                  V P                   R 2\        V P                  P	                  4       4      4       VP                  V P                   R2V P
                  4       V P                  '       d*   VP                  V P                   R2V P                  4       \        V P                  P                  \        P                  4      '       df   V P                  P                  P                  pV'       d>   VP                  W P                   R\        P                  P                  V4       24       \!        V P                  RR4      pV'       dN   V FE  pVP                  W@P                   R\"        P$                  ! V4      P'                  4        24       KG  	  R# R# )z	/METADATAz/WHEELz/entry_points.txtr   license_filesNz
/licenses/)writestrrb  rn  r@  	as_rfc822rv  r  r  r  r  Licenser   r  rP   rQ   basenamegetattrrq   r-   r  )r   r  license_filer  r6  s   &&   r   _wheel_write_metadata#_WheelBuilder._wheel_write_metadata  s<   **+95uT^^=U=U=W7XY**+62DJJ?LLD..//@A4CWCWX dnn,,.@.H.HII>>1166L		,+=+=*>a@P@PQ]@^?_(`a  F"		! 2 23:gll1o>V>V>X=YZ[ # r   c                    V ^8  d   QhRRRR/# r   	directoryr-   r   r  r   )r   s   "r   r   r>    s      t  r   c                	   \         P                  ! WP                   R 24      p\        P                  P                  VR4      ;_uu_ 4       pV P                  V4       \        \        R V P                  P                  4        4       4      4      ;_uu_ 4       pV P                  '       d   RMRpV P                  P                  4        F  w  rgV Fy  w  rVP                  V	4       We8X  d   MJVR8X  d#   \         P                  ! V P                  V4      pM!\         P                  ! V P                  Wh4      pV P!                  W9V4       K{  	  K  	  RRR4       RRR4       V#   + '       g   i     L; i  + '       g   i     T# ; i).whlwc              3  8   "   T F  p\        V4      x  K  	  R # 5irM   )lenr8   s   & r   r;   &_WheelBuilder.build.<locals>.<genexpr>  s      I1HAQ1Hs   r=   r>   rA   N)rq   r-   r   r   
_wheelfile	WheelFiler  r   sumrA  valuesrP  rp   r   rj  rf  r  )
r   r  r  r  counterr   rQ   entriesr   r   s
   &&        r   build_WheelBuilder.build  s   \\)		{$-?@
))*c::c&&s+S I1F1F1H IIJJg$(JJJyI%)^^%9%9%;MD$+s+< !^3"),,t~~s"CC"),,t~~t"IC**3S9 %, &<	 K ;* % KJ ;:* s&   AE7B9E$	E7$E4/E77F	)rC  rB  rA  r@  N)r   r   r   r   r  r   r-  rH  rL  r   rP  rZ  r   rb  rf  rj  rv  r  rY  r  r  r  r   r   r   r   r9  r9  F  s   5
D 8 8 3 3   
? 
? Y Y X X S S C C 
 
  $  *6\& r   r9  c                  <    ] tR tRt]R R l4       tRR R lltRtR# )	_EditableWheelBuilderi  c                   V ^8  d   QhRR/# )r   r   zCollection[str]r   )r   s   "r   r   "_EditableWheelBuilder.__annotate__  s      O r   c                	D   \        4       pV P                   F  pV P                  V,           Fk  w  r4VP                  ^ ,          P                  R4      w  rVpV'       d)   Wg,           pV\        9   d   VP                  V4       KX  KZ  VP                  V4       Km  	  K  	  V# )re   r1   )r  rA  rf   	partition	_SUFFIXESadd)	r   modulestype_rQ   r'  r   dotextsuffixs	   &        r   _top_level_modules(_EditableWheelBuilder._top_level_modules  s    %^^E>>%00!%A!8!8!=3 YF*D) + KK% 1 $ r   c               0    V ^8  d   QhRRRRRRRRRR	R
R/# )r   r  r-   
source_dirr  	build_dirbuild_commandrD   verboser   r   r   )r   s   "r   r   r    s9      t  , &15BNr   c                	:   \         P                  ! WP                   R 24      p\        P                  P                  VR4      ;_uu_ 4       pV P                  V4       VP                  V P                   R2VP                  4       P                  R4      4       RV P                  P                   R2pVP                  V R2\        RR4      \        P                  ! R	V P                  P                  : R
V P                   : R
\"        P$                  ! V4      : R
V: R
V: R24      P                  R4      ,           4       VP                  V P                  P&                   R2RV 2P                  R4      4       RRR4       V#   + '       g   i     T# ; i)r  r  z/direct_url.jsonutf-8r'  _editable_loader.pyr   z_editable.pyz4
                   install(
                       z,
                       z,
                   )z-editable.pthzimport N)rq   r-   r   r   r  r  r  r  rb  as_uriru  r@  r)  r   rs  rt  r  rP   rv   r(  )	r   r  r  r  r  r  r  r  loader_module_names	   &&&&&&   r   r  _EditableWheelBuilder.build  s    \\)		{$-?@
))*c::c&&s+LL%%&&67!!#**735
 $%T^^%E%E$FFV!WLL%&c*I~6 N++. ///2 3		),/ 0%( ){ #J :  )	* LL>>001?,-.55g>@) ;0 1 ;:0 s   D3F		F	r   NrH   )r   r   r   r   r-  r  r  r   r   r   r   r  r    s      r   r  c                    V ^8  d   QhRRRR/# )r   	pyprojectDict[str, Any]r   r   )r   s   "r   r   r   5  s     ,. ,.. ,.^ ,.r   c                    R  R lpR R lpR R lpR R lpV! RVR	VR
VRV! \         P                  \        V4      4      RV! RVRV/4      /4      pV P                  R/ 4      P                  R/ 4      pV! VR4      # )c                    V ^8  d   QhRRRR/# )r   schemez$Dict[str, Callable[[Any, str], Any]]r   z$Callable[[Any, str], Dict[str, Any]]r   )r   s   "r   r   0_validate_pyproject_config.<locals>.__annotate__7  s      ; @d r   c                   a  R  V 3R llpV# )c               $    V ^8  d   QhRRRRRR/# )r   valuer   r   r
   r   r  r   )r   s   "r   r   @_validate_pyproject_config.<locals>._table.<locals>.__annotate__8  s!     		 		 		3 		> 		r   c                   < \        V \        4      '       g   \        R V R24      h/ pV P                  4        F;  w  r4SP	                  V4      pVf   \        RV RV R24      hV! WA RV 24      W#&   K=  	  V# )Configuration entry "z" must be a tablezUnknown configuration entry "r1   r  )r  dictr   rp   rs   )r  r   tabler   valcheckr  s   &&    r   rZ   8_validate_pyproject_config.<locals>._table.<locals>.func8  s    eT**!$9$?P"QRRE!KKM

3=%(EdV1SEQR&STT"3&#8
	 *
 Lr   r   )r  rZ   s   f r   _table*_validate_pyproject_config.<locals>._table7  s    		 		 r   c               $    V ^8  d   QhRRRRRR/# r   r  r   r   r
   r   rD   r   )r   s   "r   r   r  D  s!       3 9 r   c                    \        V \        4      '       d;   \        ;QJ d    R  V  4       F  '       d   K   RM	  RM! R  V  4       4      '       g   \        RV R24      hV # )c              3  B   "   T F  p\        V\        4      x  K  	  R # 5irM   )r  r
   r8   s   & r   r;   ?_validate_pyproject_config.<locals>._strings.<locals>.<genexpr>E  s     1Te*Q2D2Des   FTr  z" must be a list of strings)r  ro   allr   r  r   s   &&r   _strings,_validate_pyproject_config.<locals>._stringsD  sJ    %&&cc1Te1Tccc1Te1T.T.T 5dV;VWXXr   c               $    V ^8  d   QhRRRRRR/# r   r  r   r   r
   r   r   r   )r   s   "r   r   r  I  s!      S   r   c                P    \        V \        4      '       g   \        R V R24      hV # )r  z" must be a boolean)r  r   r   r  s   &&r   _bool)_validate_pyproject_config.<locals>._boolI  s*    %&& 5dV;NOPPr   c               $    V ^8  d   QhRRRRRR/# r   r  r   r   r
   r   r   )r   s   "r   r   r  N  s!      s # # r   c                    \        V \        4      '       g   \        R V R24      h\        P                  P                  V 4      '       d    \        P                  P                  V 4      p V # )r  z" must be a string)r  r
   r   rP   rQ   isfileabspathr  s   &&r   _string_or_path3_validate_pyproject_config.<locals>._string_or_pathN  sO    %%% 5dV;MNOO77>>%  GGOOE*Er   mesonlimited-api"allow-windows-internal-shared-libsr   rv  r^   r_   toolzmeson-pythonztool.meson-python)r  fromkeys_MESON_ARGS_KEYSrs   )r  r  r  r  r  r  r  s   &      r   _validate_pyproject_configr  5  s    

 u,et}}%5x@Axx
 	 	F MM&"%))."=E%,--r   c                    V ^8  d   QhRRRR/# )r   config_settingsr  r   r   )r   s   "r   r   r   d  s     / /~ /. /r   c                  a R R lpR R lpR R lpRVRVR	VR
VRVRVRV/o\         ;QJ d#    V3R l\         4       F  '       d   K   RM	  RM! V3R l\         4       4      '       g   Q h/ pV P                  4        F  w  rVSP                  V4      pVfi   \        P
                  ! VSP                  4       ^R7      pV'       d+   RP                  R V 4       4      p	\        RV RV	 R24      h\        RV R24      hV! We4      WE&   K  	  RR/p
V
P                  4        F5  w  r[WT9   d   W9   d   \        RV RV R24      hW9   g   K+  WK,          WE&   K7  	  V# )z.Validate options received from build frontend.c               $    V ^8  d   QhRRRRRR/# r  r   )r   s   "r   r   /_validate_config_settings.<locals>.__annotate__g  s!      s # # r   c                P    \        V \        4      '       g   \        R V R24      hV # )zOnly one value for "z" can be specified)r  r
   r   r  s   &&r   _string*_validate_config_settings.<locals>._stringg  s*    %%% 4TF:LMNNr   c               $    V ^8  d   QhRRRRRR/# r  r   )r   s   "r   r   r  l  s!      S   r   c                    R # )Tr   r  s   &&r   r  (_validate_config_settings.<locals>._booll  s    r   c               $    V ^8  d   QhRRRRRR/# r  r   )r   s   "r   r   r  o  s&     C C# CS CY Cr   c                R    \        \        V \        4      '       d   V .4      # T 4      # rM   )ro   r  r
   r  s   &&r   _string_or_strings5_validate_config_settings.<locals>._string_or_stringso  s#    
5# 6 6UHBBEBBr   builddir	build-direditable-verbosez	dist-argsz
setup-argszcompile-argszinstall-argsc              3  2   <"   T F  q R 2S9   x  K  	  R# 5i)-argsNr   )r9   r   optionss   & r   r;   ,_validate_config_settings.<locals>.<genexpr>{  s     F5ETu~(5Es   FT)nz or c              3  .   "   T F  pR V R 2x  K  	  R# 5ir  r   )r9   r6   s   & r   r;   r    s     *MWEQugQ<Wr  zUnknown option "z". Did you mean ?r  zOption "z)" is a backward compatibility alias for "z". Only one can be used)	r  r  rp   rs   difflibget_close_matcheskeysrW   r   )r  r	  r  r  configr   r  parsermatchesalternativesaliasesaltr  s   &           @r   _validate_config_settingsr%  d  sh   
C 	GWE'(**G 3F5EF333F5EFFFFFF%++-
S!>//W\\^qIG%{{*MW*MM!$4SE9I,WX"YZZ!$4SE";<<U( . 	ZG MMO=S]-VWZV[[rstt= +FK	 $ Mr   c                  Z   ] tR tRtRtR"R R lltR R ltR#R R	 llt]R
 R l4       t	]
P                  ! RR7      R R l4       t]
P                  ! 4       R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       t]R R l4       tR R ltR R ltR R  ltR!tR# )$Projecti  z3Meson project wrapper to generate Python artifacts.Nc          
     ,    V ^8  d   QhRRRRRRRRRR	/# )
r   r  r-   r  
meson_argszOptional[MesonArgs]editable_verboser   r   r   r   )r   s   "r   r   Project.__annotate__  sJ     T TT T (	T
 T 
Tr   c                	   \         P                  ! V4      P                  4       V n        \         P                  ! V4      P                  4       V n        W@n        V P                  R ,          V n        V P                  R,          V n        \        P                  ! \        4      V n        RV n        \        P                  ! V P                  P                  R4      P!                  RR7      4      p\#        V4      pVP%                  R/ 4      P'                  4        F'  w  rxV P                  V,          P)                  V4       K)  	  V'       d<   VP'                  4        F'  w  rxV P                  V,          P)                  V4       K)  	  \+        VP%                  R4      4      V n        \/        4       V n        V P0                  f   \3        R	\4         R
24      h\6        P8                  P;                  RV P0                  4       V P                  P=                  RRR7       \?        V P                  PA                  4       4      '       g   \C        V P                  4       \D        PF                  ! 4       PI                  R4      '       Ed   \6        P8                  P%                  RR4      PK                  4       p	V	'       Ed   \L        PN                  ! RRR7      p
V
PQ                  RRR7       V
PS                  V	PU                  4       4      w  rV'       d   \3        RV	: 24      h\W        VPX                  4      vrV'       d   \3        RV	: 24      h\Z        P\                  ! 4       w  pppVV8w  d   \6        P8                  P;                  RRV RV 24      pVP_                  V4      '       g   \3        RV	: RV: R24      hVR8X  d   RMTp\`        Pb                  ! RV: RV: R V: R!V: R"V: R#V: R$V: R%24      pV P                  Pe                  VRR7       V P                  R&,          P)                  R'\6        Pf                  ! V P                  4      34       EMJ\D        PF                  ! 4       PI                  R(4      '       Ed    \Z        Ph                  ! 4       p\Z        Pj                  ! 4       pVR8X  d   RMTpVPl                  '       d   R)MR*p\`        Pb                  ! RPo                  . R+NV NR,NV NR-NV NR,NV NR.NV NR,NV NR/NV NR,NV NR0NV NR,NV NR1NV NR,NV NR2NV: NR3NV: NR4NV: NR5N4      4      pV P                  Pe                  VRR7       V P                  R&,          P)                  R'\6        Pf                  ! V P                  4      34       \`        Pb                  ! R6\p        Pr                   R724      pV P                  Pe                  VRR7       V P                  P                  R84      Pu                  4       pV Pw                  VR97       R:V9   Ed   \x        P{                  WPP                  4      V n>        R;V P|                  P~                  9   dU   V P                  pVf   \        P                  ! R<4      h\        P                  P                  V4      V P|                  nD        R=V P|                  P~                  9   d8   V P                  pVf   \        P                  ! R>4      hVV P|                  nG        R?V P|                  P~                  9   d   V P                  V P|                  nI        MV P                  V P                  ppV'       g   \        P                  ! R@4      h\        RO8  d   R=V P                  RAV P                  /M/ p\y        RPRBVR;\        P                  P                  V4      /VB V n>        V P|                  P                  '       d   RV P|                  P                  nM        \Z        P                  ! 4       P                  RC4      V P|                  P                  9  d9   \        RDV P|                  P                   RE\Z        P                  ! 4        24      hVP%                  RFR4      V n        V P                  '       d4   V P                  RG4      p\        RH V 4       R4      pV'       g   RV n        V P                  '       d1   \        \D        P                  ! RI4      4      '       d   \        RJ4      hVP%                  RKR4      V nV        VP%                  RL/ 4      P%                  RM. 4      V nW        VP%                  RL/ 4      P%                  RN. 4      V nX        R# )Qzmeson-python-native-file.inizmeson-python-cross-file.iniFpyproject.tomlr  encodingr   r  NzCould not find ninja version z
 or newer.NINJAT)exist_okparentszmacosx-	ARCHFLAGSr   )add_helpallow_abbrevz-archr   )actionz%Unknown flag specified in $ARCHFLAGS=z;Multi-architecture builds are not supported but $ARCHFLAGS=_PYTHON_HOST_PLATFORMr&  z$ARCHFLAGS=z and $_PYTHON_HOST_PLATFORM=z do not agreearm64aarch64zP
                        [binaries]
                        c = ['cc', '-arch', z1]
                        cpp = ['c++', '-arch', z1]
                        objc = ['cc', '-arch', z4]
                        objcpp = ['c++', '-arch', z5]
                        strip = ['strip', '-arch', zr]

                        [host_machine]
                        system = 'darwin'
                        cpu = z&
                        cpu_family = z?
                        endian = 'little'
                    setupz--cross-filezios-zios-simulatoriosz2
                [binaries]
                ar = 'z-apple-z-ar'
                c = 'z-clang'
                cpp = 'z"-clang++'
                objc = 'z"-clang'
                objcpp = 'z#-clang++'
                strip = 'zc-strip'

                [host_machine]
                system = 'ios'
                subsystem = z
                cpu = z
                cpu_family = z/
                endian = 'little'
            z.
            [binaries]
            python = 'z
'
        zmeson-private/coredata.dat)r   projectr2   zMField "version" declared as dynamic but version is not defined in meson.buildr  zOField "license" declared as dynamic but license is not specified in meson.buildlicense-fileszUSection "project" missing in pyproject.toml and version is not defined in meson.buildr  r   +z$The package requires Python version z, running on r  zintro-buildoptionsc              3  R   "   T F  qR ,          R8X  g   K  VR,          x  K  	  R# 5i)r   zpython.allow_limited_apir  Nr   )r9   opts   & r   r;   #Project.__init__.<locals>.<genexpr>I  s"     %sgsVXrIrlc'llgs   ''Py_GIL_DISABLEDzThe package targets Python's Limited API, which is not supported by free-threaded CPython. The "python.allow_limited_api" Meson build option may be used to override the package default.r  rv  r^   r_   re   	   r   )Yrq   r-   absolute_source_dir
_build_dir_editable_verbose_meson_native_file_meson_cross_filerm   rn   ro   _meson_argsrB  tomllibloadsjoinpath	read_textr  rs   rp   extend_get_meson_command_meson_env_ninja_command_ninjar   _NINJA_REQUIRED_VERSIONrP   r   ru   mkdirrV  iterdir_add_ignore_files	sysconfigget_platform
startswithr   argparseArgumentParseradd_argumentparse_known_argssplitr  archr   mac_verr  rs  rt  
write_textrv   ios_vermachineis_simulatorrW   r   
executableis_file
_configurer  r  r@  r  _meson_versionr  r  	packagingr2   Version_meson_licenser  _meson_license_filesr  _meson_name_PYPROJECT_METADATA_VERSIONrequires_pythonprereleasespython_versionrstripr  _inforw   r   get_config_varrt   rC  _excluded_files_included_files)r   r  r  r)  r*  r  pyproject_configr   r  	archflagsr   r   unknownra  r   macverr'  
nativearchr:   familycross_file_datard  	subsystemnative_file_datar   r2   r  r   r   r  allow_limited_apis   &&&&&                          r   r   Project.__init__  s
	    #<<
3<<>!,,y1::<!1"&//4R"R!%3P!P&1&=&=d&C! MM$"2"2";";<L"M"W"Wah"W"ij	 6i@*..vr:@@BJCS!((/ C
 (..0
  %,,U3 1 ))9)=)=g)FG(*;; =>U=VV`abb


gt{{3 	tT: 4??**,--doo. !!#..y99

{B7==?Iy "00%eT##GH#= & 7 7	8I J%(Mi]&[\\"499~%(cdmcp&qrr(0(8(8(:%::%

--.EQWPXXYZ^Y_G`aA::d++)K	}D`ab`eer*stt*.'/YtF&.oo ;--1H 5004x 8004x 8337( ;4488 <  $h '&&,Z 07 'O **55oPW5X$$W-44nbiiPTPfPfFg5hi ##%0088&&(G##%D"&'/YtF+2+?+?+?UI&oo / / 3 /f/#/$-;/// V/ #/ $-+/./ v	/ %	/ &/K	/0	/
 /
 &/
 '0[/
1/  &/ !(/ )2{/3/ /  '/ (1k/2/ 'M/*/ h// %Z/(/ O  ""--o-PW%,,nbiiH^H^>_-`a $?? 0~~& '	,  	**+;g*N oo../KLTTV 	K0 	!%44Y@P@PQDNDNN222--?,??gi i)2):):)B)B7)K&DNN222--?,??ik k *1&$.."8"88/3/H/H, !,,d.A.A'D(;;km m
 -6 4..!:!: =?  &f4f9J9J9R9RSZ9[f_efDN >>)))9=DNN**6&&(//4DNN<Z<ZZ':4>>;Y;Y:Z [""*"9"9";!<>? ?
 -00Fjj!56G $%sg%suy z$$)!i&>&>?P&Q!R!Rqr r +;*>*>?cej*k'  033GR@DDYPRS/33GR@DDYPRSr   c                    V ^8  d   QhRRRR/# )r   cmdzSequence[str]r   r   r   )r   s   "r   r   r+  Z  s     + + +$ +r   c                    \        RP                  \        RP                  V4      R7      RR7       \        P
                  ! WP                  R7      pVP                  ^ 8w  d   \        VP                  4      hR# )zInvoke a subprocess.z {style.INFO}+ {cmd}{style.RESET}r   )r   r  T)r   )cwdN)	r   r   r   rW   
subprocessrunrG  
returncode
SystemExit)r   r  rs   && r   _runProject._runZ  s[    
 	/66UQT6V^bcNN3OO4<<1Q\\** r   c                    V ^8  d   QhRRRR/# )r   r   r   r   r   r   )r   s   "r   r   r+  d  s     8 8d 8t 8r   c                v   \         P                  ! V P                  4      \         P                  ! V P                  4      RRR.V P                  R,          OR\         P                  ! V P
                  4       2NpV'       d   VP                  ^ R4       V P                  V P                  R.VO,           4       R# )zConfigure Meson project.z-Dbuildtype=releasez-Db_ndebug=if-releasez-Db_vscrt=mdr:  z--native-file=z--reconfigureN)	rP   rv   rF  rG  rK  rI  insertr  rR  )r   r   
setup_argss   && r   ri  Project._configured  s     IId&&'IIdoo&!#
 g&
 RYYt'>'>?@A

 a1		$++ 6: 667r   c                   V ^8  d   QhRR/# )r   r   rD   r   )r   s   "r   r   r+  y  s     ; ;	 ;r   c                	*   V P                   f   Q h\        P                  R8X  dP   V P                  R.,           p\	        V P
                  R,          4      pV'       d   VP                  RV: 24       V# V P                   .V P
                  R,          O# )Nr   rV   z--ninja-args=)rT  r   r   rR  ro   rK  r   )r   r  r   s   &  r   _build_commandProject._build_commandx  s}    {{&&&<<7"
 +++C((34D

]4(34J:d..y9::r   )maxsizec                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   r+    s     ' 't 'r   c                <    V P                  V P                  4       R# )zBuild the Meson project.N)r  r  r   s   &r   r  Project.build  s     			$%%&r   c                    V ^8  d   QhRRRR/# )r   r   r
   r   r   r   )r   s   "r   r   r+    s     < <# <# <r   c                    V P                   P                  RV R24      p\        P                  ! VP	                  RR7      4      # )z$Read info from meson-info directory.z
meson-infoz.jsonr  r.  )rG  rN  jsonrM  rO  )r   r   infos   && r   ru  Project._info  s:     ''enEzz$..'.:;;r   c                   V ^8  d   QhRR/# )r   r   r`   r   )r   s   "r   r   r+    s     R RK Rr   c                   V P                  R4      p\        P                  ! RR7      pVP                  R4       VP                  RRRRR	7       VP	                  V P
                  R
,          4      w  r4V'       d-   RP                  V4      p\        P                  ! RV 2^R7       VP                  '       d9   VP                  P                  R4       Uu0 uF  qfP                  4       kK  	  upMRpR VP                  P                  R4       4        Uu0 uF  q'       g   K  VkK  	  p	p\        P                  ! \        4      p
VP!                  4        Fa  w  rVP!                  4        FH  w  rVe   VR,          V9  d   K  VP#                  R4      pVe   W9   g   RV	9   d   K=  WV,          V&   KJ  	  Kc  	  \%        WP&                  V P(                  4      # u upi u upi )z<The files to be added to the wheel, organized by wheel path.zintro-install_planF)r4  z--tagsz--skip-subprojectsr  *r   )nargsconstdefaultinstallr   z1unhandled arguments specified for meson install: r   ,Nc              3  @   "   T F  qP                  4       x  K  	  R # 5irM   )r   rS   s   & r   r;   $Project._manifest.<locals>.<genexpr>  s     '\;[a		;[s   rZ  
subproject)ru  r\  r]  r^  r_  rK  rW   r   r   tagsr`  r   skip_subprojectsrm   rn   r  rp   rs   r   rw  rx  )r   install_planr   r   othersotherstrtinstall_tagsrT   r  r]   r   rj   r   detailsr  s   &               r   rA  Project._manifest  s   
 zz"67 ((%8H%03PRS..t/?/?	/JKxx'HMMMhZXefgDHIII499??3+?@+?a	+?@SW'\4;P;P;V;VWZ;['\b'\!`aAA'\b @K?V?VW[?\(..0LC#*==?+l0R$[[6
)z/MQTXhQh'.V$ $3 1 W&:&:D<P<PQQ Abs   G	G!%G!c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r+    s      S r   c                f    V P                  R4      R,          p\        V\        4      '       g   Q hV# )z=The project name specified with ``project()`` in meson.build.intro-projectinfodescriptive_nameru  r  r
   r   r  s   & r   ro  Project._meson_name  s1     

./0BC%%%%%r   c                   V ^8  d   QhRR/# r  r   )r   s   "r   r   r+    s       r   c                x    V P                  R4      R,          p\        V\        4      '       g   Q hVR8X  d   R# V# )zTThe version specified with the ``version`` argument to ``project()`` in meson.build.r  r2   	undefinedNr  r  s   & r   rj  Project._meson_version  s;     

./	:%%%%%Kr   c                   V ^8  d   QhRR/# r  r   )r   s   "r   r   r+    s     ; ; ;r   c                H   V P                  R4      P                  RR4      pVf   R# \        V\        4      '       g   Q h\	        V4      ^8  d   \
        P                  ! R4      hV^ ,          p\        V\        4      '       g   Q hVR8X  d   R# \        \        V4      4      # )zTThe license specified with the ``license`` argument to ``project()`` in meson.build.r  r  NzkUsing a list of strings for the license declared in meson.build is ambiguous: use a SPDX license expressionr{  )	ru  rs   r  ro   r  r  r  r
   r   r  s   & r   rm  Project._meson_license  s     

./33ItD=%&&&&u:>$77} a%%%%%I259::r   c                   V ^8  d   QhRR/# )r   r   zOptional[List[pathlib.Path]]r   )r   s   "r   r   r+    s     0 0&B 0r   c                    V P                  R4      P                  RR4      pV'       g   R# \        V\        4      '       g   Q hV Uu. uF  p\        P
                  ! V4      NK  	  up# u upi )z`The license files specified with the ``license_files`` argument to ``project()`` in meson.build.r  r  N)ru  rs   r  ro   rq   r-   )r   r  r:   s   &  r   rn  Project._meson_license_files  sY     

./33OTJ%&&&&)./AQ///s   A*c                    V ^8  d   QhRRRR/# r  r   )r   s   "r   r   r+    s     k kt k kr   c                D   V P                  V P                  . ROV P                  R,          O,           4       V P                  P                   RV P                  P
                   2pV P                  ;'       g    RpV P                   RV 2p\        P                  ! V P                  RV R24      p\        P                  ! W R24      p^ p\        P                  ! VR4      ;_uu_ 4       p\        P                  P                  V4      ;_uu_ 4       p	VP!                  4        EF  p
V
P#                  4       '       d   V
P$                  p\&        P(                  ! \&        P*                  ! \&        P,                  ! V
P$                  4      V
P.                  4      4      p \0        P0                  ! VP3                  V4      4      p
Wn        T
P;                  4       '       g   K  \6        P8                  ! R	T 2^R7       K  \0        P0                  ! V
4      p
V
P=                  4       '       d   VP?                  V
P$                  4      p/ V
n         V
P$                  PC                  R
^4      ^,          pR
P+                  W.34      V
n        VR8X  d   V
PD                  pR;V
n#        V
n$        ^ ;V
n%        V
n&        V	PO                  W4       EK  V
P;                  4       '       d   EK  V
P#                  4       '       d   EK  \6        P8                  ! RV
P$                   2^R7       EK  	  \        PP                  ! V R24      p
^ ;V
n%        V
n&        R;V
n#        V
n$        Wzn"        \S        V P                  PU                  4       4      p\W        V4      V
n,        V	PO                  V
\Z        P\                  ! V4      4       RRR4       RRR4       V#   \4         d!    \6        P8                  ! RT 2^R7        EK  i ; i  + '       g   i     LH; i  + '       g   i     T# ; i)zCGenerates a sdist (source distribution) in the specified directory.distr&  r  z
meson-distz.tar.gzzr:gzz\symbolic link with absolute path target, pointing outside the archive, or dangling ignored: r   z/symbolic link pointing to a directory ignored: r   r-  r   z,special file in the source archive ignored: z	/PKG-INFON)r  z--allow-dirtyz
--no-testsz	--formatsgztar)/r  rR  rK  r@  r)  r2   rj  ro  rq   r-   rG  tarfiler4  r   r   create_targz
getmembersissymr   	posixpathrR   rW   dirnamelinknamerz   	getmemberKeyErrorr   r   rx   r  extractfilepax_headersr`  mtimeunamegnameuidgidaddfileTarInforn  r  r  sizeioBytesIO)r   r  	dist_namemeson_versionmeson_dist_namemeson_dist_path
sdist_pathpyproject_toml_mtime
meson_distsdistmemberr   r   r   stemr   s   &&              r   r  Project.sdist  sD    			$++ x_c_o_opv_w xxy~~778$..:P:P9QR	++::{!--.a?!,,tHYY`Fab\\){'-BC
 \\/622j'--B\B\]gBhBhlq$//1 llnn!;;D&//	y?P?PQWQ\Q\?]_e_n_n0opF "&:+?+?+G!H&* ||~~ MdVTabd 6*==??%11&++>D  *,F& ";;,,S!4Q7D"%((I+<"=FK///5||,
 398FL6<.//FJMM&/MMFv{{mTabd dE 2L __	{)%<=F&''FJ*00FL6<  0LT^^5578Hh-FKMM&"**X"67{ Ci2~ W $  ==AFDPQS 	) CiBh22~ sj   -(P*O;	 AO;	 +O
O;	#AO;	,B2O;	$O;	=B>O;	;P&O83O;	7O88O;	;PPP	c                    V ^8  d   QhRRRR/# r  r   )r   s   "r   r   r+  H  s     ( (t ( (r   c                    V P                  4        \        V P                  V P                  V P                  V P
                  4      pVP                  V4      # )z-Generates a wheel in the specified directory.)r  r9  r@  rA  rB  rC  r   r  builders   && r   rv  Project.wheelH  s?    

@Q@QSWSrSrs}}Y''r   c                    V ^8  d   QhRRRR/# r  r   )r   s   "r   r   r+  N  s     x x$ x< xr   c                   V P                  4        \        V P                  V P                  V P                  V P
                  4      pVP                  WP                  V P                  V P                  V P                  4      # )z7Generates an editable wheel in the specified directory.)
r  r  r@  rA  rB  rC  rF  rG  r  rH  r  s   && r   editableProject.editableN  s\    

'HYHY[_[z[z{}}Y(8(8$//4K^K^`d`v`vwwr   )rC  rG  rH  rw  rx  rB  rR  rK  rJ  rI  r@  rT  rF  )NFrH   )r   r   r   r   r  r   r  ri  r-  r  	functools	lru_cacher  ru  rA  ro  rj  rm  rn  r  rv  r  r   r   r   r   r'  r'    s    =TB+8( ; ; &' '' < <
 R R>     ; ; 0 0kZ(x xr   r'  c                    V ^8  d   QhRRRR/# )r   r  Optional[Dict[Any, Any]]r   zIterator[Project]r   )r   s   "r   r   r   V  s      K K6 KBS Kr   c              #  .  "   \        T ;'       g    / 4      p\        P                  ! R\         Uu/ uF  q"VP	                  V R2. 4      bK  	  up4      p\
        P                  P                  pVP	                  R4      p\        VP	                  R4      4      p\        P                  ! 4       ;_uu_ 4       pVf(   VP                  \        P                  ! RVR7      4      p\        WEW64      x  RRR4       R# u upi   + '       g   i     R# ; i5i)z3Create the project given the given config settings.	MesonArgsr  r  r  Nz	.mesonpy-)prefixdir)r%  rX   rY   r  rs   rP   rQ   r,  r   
contextlib	ExitStackenter_contexttempfileTemporaryDirectoryr'  )r  settingsr   r)  r  r  r*  ctxs   &       r   _projectr  U  s      ))>)>B?H[^n*o^nVZenb1Q+Q^n*opJJ[)IHLL);<=					3))(*E*E[^h*ijIjZJJ 
 	 +p
 
 		s)   /DC<
A)D8:D2DD		Dc                    V ^8  d   QhRRRR/# )r   r   r
   r   zTuple[int, ...]r   )r   s   "r   r   r   e  s      # / r   c                     \        \        \        V P                  R4      R,          4      4      #   \         d    Ru # i ; i)zParse version string.r1   :N   Nr   )tuplemapr   r`  
ValueErrorr   s   &r   _parse_version_stringr	  e  s;    Sfll3/3455 s   .1 A Ac               $    V ^8  d   QhRRRRRR/# )r   r  r   r2   r
   r   rD   r   )r   s   "r   r   r   m  s$     $ $$14$	$r   c                  \         P                  P                  RT ;'       g    R4      p V P                  R4      '       dH   \         P                  P                  V 4      '       g   \        RV  R24      h\        P                  V .pMV .p \        P                  ! VR.,           RRR7      pTP                  ^ 8w  d'   \        RTP                  P                  4        24      hTP                  P                  4       p\!        T4      \!        T4      8  d   \        RT RT R24      hT#   \         d   p\        R	T  R
24      ThRp?ii ; i)z#Return the command to invoke meson.MESONr  r  z%Could not find the specified meson: "r  	--versionT)r~  capture_outputzmeson executable "z" not foundNzCould not execute meson: zCould not find meson version z or newer, found r1   )rP   r   rs   r  rQ   existsr   r   rg  r  r  r  r  stderrr   r   r	  )r  r2   r  r  errr  s   &$    r   rQ  rQ  m  s,    JJNN7E$4$4W5E ~~eww~~e$$ EeWANOO~~u%gLNN3+.T$O 	||q5ahhnn6F5GHIIHHNN$M]+.CG.LL9'BSTaSbbcdeeJ  L.ug[ABKLs   !D, ,E7EEc                    V ^8  d   QhRRRR/# )r   r2   r
   r   r   r   )r   s   "r   r   r     s      3 ] r   c                6   \        V 4      p\        P                  P                  R4      pV'       d   V.M. ROpV FY  p\        P
                  ! V4      pVf   K  \        P                  ! VR.RRRR7      P                  p \        V 4      V8  g   KW  Vu # 	  R# )z5Returns the path to ninja, or None if no ninja found.r0  Nr  FT)r  r~  r  )ninjazninja-buildsamu)	r	  rP   r   rs   shutilwhichr  r  r   )r2   required_version	env_ninjaninja_candidatesr  
ninja_paths   $     r   rS  rS    s    ,W5

w'I&/	{5U!\\%(
! nnj+%>eRVgklssG$W-1AA!! " r   c                    V ^8  d   QhRRRR/# )r   r  r  r   r   r   )r   s   "r   r   r     s     	 	 	$ 	r   c                    V P                  R 4      P                  \        P                  ! R4      RR7       V P                  R4      P                  \        P                  ! R4      RR7       R# )z
.gitignorezr
        # This file is generated by meson-python. It will not be recreated if deleted or modified.
        *
    r  r.  z	.hgignorez
        # This file is generated by meson-python. It will not be recreated if deleted or modified.
        syntax: glob
        **/*
    N)rN  rc  rs  rt  )r  s   &r   rX  rX    sl    |$// A 1	  0  {#..x @ 0	 	 / r   c                    V ^8  d   QhRRRR/# )r   rZ   zCallable[P, T]r   r   )r   s   "r   r   r     s     
 
. 
^ 
r   c                L   a  \         P                  ! S 4      R  V 3R ll4       pV# )c               $    V ^8  d   QhRRRRRR/# )r   r   zP.argsr   zP.kwargsr   r0   r   )r   s   "r   r   %_pyproject_hook.<locals>.__annotate__  s!     ) )v ) )a )r   c            	     D  < \         \        n         S! V / VB #   \        \        \
        P                  3 df   p\        P                   R \        P                   R2p\        R\        P                  ! \        T4      T4      ,           4       \        ^4      ThRp?ii ; i)zmeson-python: error:r   r|  N)r   r   showwarningr   r   r  r  r   r   r   r   rs  indentr
   r  )r   r   excr  rZ   s   *,  r   wrapper _pyproject_hook.<locals>.wrapper  s    +	)(((/1C1V1VW 	)}$8QGFC&99:Q-S(	)s     BA BB)r  wraps)rZ   r&  s   f r   _pyproject_hookr)    s%    __T) ) Nr   c                    V ^8  d   QhRRRR/# r   r  zOptional[Dict[str, str]]r   rD   r   )r   s   "r   r   r     s      2J V_ r   c                    . p\         P                  P                  R 4      f%   \        4       f   VP	                  R\
         24       V# )r0  	ninja >= )rP   r   rs   rS  r   rU  r  dependenciess   & r   get_requires_for_build_sdistr0    s@    L	zz~~g&+=+?+Gi(?'@ABr   c                    V ^8  d   QhRRRR/# r+  r   )r   s   "r   r   r     s     	 	2J 	V_ 	r   c                8   . p\         P                  P                  R 4      f%   \        4       f   VP	                  R\
         24       \        P                  P                  R4      '       d.   \        P                  ! R4      '       g   VP	                  R4       V# )r0  r-  linuxpatchelfzpatchelf >= 0.11.0)rP   r   rs   rS  r   rU  r   r   r[  r  r  r.  s   & r   get_requires_for_build_wheelr5    sr    L	zz~~g&+=+?+Gi(?'@AB
||w''Z0H0H01r   c               $    V ^8  d   QhRRRRRR/# )r   sdist_directoryr
   r  r  r   r   )r   s   "r   r   r     s&     ' ''-' 	'r   c                    \         P                  ! V 4      p\        V4      ;_uu_ 4       pVP                  V4      P                  uuR R R 4       #   + '       g   i     R # ; irM   )rq   r-   r  r  r   )r7  r  outr<  s   &&  r   build_sdistr:    s@     ,,
'C	/	"	"g}}S!&& 
#	"	"	"   AA!	c               (    V ^8  d   QhRRRRRRRR/# r   wheel_directoryr
   r  r  metadata_directoryr   r   r   )r   s   "r   r   r     s0     ' ''' &' 		'r   c                    \         P                  ! V 4      p\        V4      ;_uu_ 4       pVP                  V4      P                  uuR R R 4       #   + '       g   i     R # ; irM   )rq   r-   r  rv  r   r>  r  r?  r9  r<  s   &&&  r   build_wheelrB    s@     ,,
'C	/	"	"g}}S!&& 
#	"	"	"r;  c               (    V ^8  d   QhRRRRRRRR/# r=  r   )r   s   "r   r   r     s0     * **-* &* 		*r   c                H   V'       g   / pR V9  d0   RV9  d)   R\         P                  P                  4       ,           VR &   \        P                  ! V 4      p\        V4      ;_uu_ 4       pVP                  V4      P                  uuRRR4       #   + '       g   i     R# ; i)r  r  zbuild/N)r   rW  get_abi_tagrq   r-   r  r  r   rA  s   &&&  r   build_editablerF    su     /)j.O'/'--2K2K2M'M$
,,
'C	/	"	"g$)) 
#	"	"	"s   *BB!	)r     )r  r:  rV   r  rC  >   r  r2   r=  )NNrM   )~r  
__future__r   r\  rm   r  rz   r  rN   r  importlib.machinery	importlibr  r   r  rP   rq   r   r  r5   r  r  r   rY  r  r  rs  rX   r   r   version_infotomlirL  packaging.utilsrk  packaging.versionr  mesonpy._rpathr   mesonpy._tagsmesonpy._utilmesonpy._wheelfilemesonpy._compatr   packaging.licensesr   r   ImportError	ExceptionTYPE_CHECKINGr   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r+   r,   r-   r.   r/   r0   MesonArgsKeysr
   r  __version__r  r  r   r`  rp  r  rU  _MESON_REQUIRED_VERSIONr  	machineryall_suffixesr  rV   r7   r  EXTENSION_SUFFIXESrr   r[   r   r   r  r   r   r   r   RuntimeErrorr   r   rt   r  StandardMetadatar  r7  r9  r  r  r%  r'  contextmanagerr  r	  rQ  rS  rX  r)  r0  r5  get_requires_for_build_editabler:  rB  rF  r   r   r   <module>rb     sm  
 #         	   	    	   
       % g        '\ 
TT#AAABMtCy01I  $C-?-K-K-Q-QRU-VWY-Z$[\ -H6-QYMW~ ! " : ,,.	**%TU 

hATATAgAg
hsss
hATATAgAg
hhh hh
 	II)I~
 6:z	= 	=  (	J (!L !
.% .) )1 1!5!22 !5H+${ {|.M .b,.^/d|x |x~ K K$7N$ $N)@ 	
   	 	 #?  ' ' ' ' * *_%  	9 	s   0M M"!M"