ó
    Eñi~D  ã                  óZ  • S r SSKJr  SSKrSSKrSSKrSSKrSSKrSSK	r	SSK
r
SSKrSSKrSSKrSSKJrJrJr  SSKJrJr  SSKJr  SSKJr  SS	KJr  SS
KJrJr  SSKJr  \(       a  SSKJ r J!r!  \ " S5      r"S$S jr#S$S jr$\RJ                  S:X  a  Sq&Sr'S r(S r)S r*S%S jr+\S&S j5       r,      S'S jr-\R\                  S(S j5       r/S)S jr0S r1S*S+S jjr2S=q3=q4q5S r6S,S jr7  S-         S.S jjr8S/S jr9      S0               S1S  jjr:S2S! jr;S3S" jr<S# r=g)4zudistutils.util

Miscellaneous utility functions -- anything that doesn't fit into
one of the other *util.py modules.
é    )ÚannotationsN)ÚCallableÚIterableÚMapping)ÚTYPE_CHECKINGÚAnyStr)Ú	pass_noneé   )Úlog)Únewer)ÚDistutilsByteCompileErrorÚDistutilsPlatformError)Úspawn)ÚTypeVarTupleÚUnpackÚ_Tsc                 ó,   • [         R                  " 5       $ )z§
Return a string that identifies the current platform. Use this
function to distinguish platform-specific build directories and
platform-specific built distributions.
)Ú	sysconfigÚget_platform© ó    ÚW/home/mande/repo/quber/.venv/lib/python3.13/site-packages/setuptools/_distutils/util.pyÚget_host_platformr   #   s   € ô ×!Ò!Ó#Ð#r   c                 óÎ   • [         R                  S:X  aH  SSSSS.n [         R                  R                  S5      nU R                  U5      =(       d
    [	        5       $ [	        5       $ )NÚntÚwin32z	win-amd64z	win-arm32z	win-arm64)Úx86Úx64ÚarmÚarm64ÚVSCMD_ARG_TGT_ARCH)ÚosÚnameÚenvironÚgetr   )ÚTARGET_TO_PLATÚtargets     r   r   r   1   sX   € Ü	‡w�w�$ƒàØØØ ñ	
ˆô —‘—‘Ð 4Ó5ˆØ×!Ñ! &Ó)×@Ô->Ó-@Ð@ÜÓÐr   ÚdarwinÚMACOSX_DEPLOYMENT_TARGETc                 ó   • Sq g)zFor testing only. Do not call.N)Ú_syscfg_macosx_verr   r   r   Ú_clear_cached_macosx_verr,   C   s
   € ð Ñr   c                 óx   • [         c.  SSKJn   U R                  " [        5      =(       d    SnU(       a  Uq [         $ )zŽGet the version of macOS latched in the Python interpreter configuration.
Returns the version as a string or None if can't obtain one. Cached.r   )r   Ú )r+   Ú	distutilsr   Úget_config_varÚMACOSX_VERSION_VAR)r   Úvers     r   Ú!get_macosx_target_ver_from_syscfgr3   I   s2   € ô Ñ!Ý'à×&Ò&Ô'9Ó:×@¸bˆÞØ!$ÐÜÐr   c                 ó   • [        5       n [        R                  R                  [        5      nU(       aI  U (       a@  [        U 5      SS/:¼  a/  [        U5      SS/:  a  S[        -   SU SU  S3-   n[        U5      eU$ U $ )a  Return the version of macOS for which we are building.

The target version defaults to the version in sysconfig latched at time
the Python interpreter was built, unless overridden by an environment
variable. If neither source has a value, then None is returnedé
   é   Ú$z mismatch: now "z" but "z*" during configure; must use 10.3 or later)r3   r"   r$   r%   r1   Úsplit_versionr   )Ú
syscfg_verÚenv_verÚmy_msgs      r   Úget_macosx_target_verr<   V   s�   € ô 3Ó4€JÜ�j‰j�n‰nÔ/Ó0€Gæö Ü˜jÓ)¨b°!¨WÓ4Ü˜gÓ&¨"¨a¨Ó0ð Ô(Ñ(ð ,Ø�y ¨
 |ð 4)ð,)ñ )ð ô
 )¨Ó0Ð0ØˆØÐr   c                ób   • U R                  S5       Vs/ s H  n[        U5      PM     sn$ s  snf )zEConvert a dot-separated string into a list of numbers for comparisonsÚ.)ÚsplitÚint)ÚsÚns     r   r8   r8   v   s&   € àŸG™G CœLÓ)šL�qŒC�ŽF™LÑ)Ð)ùÒ)s   ”,c                óV   • [         R                  " [        R                  " U 5      5      $ )a
  
Allow for pathlib.Path inputs, coax to a native path string.

If None is passed, will just pass it through as
Setuptools relies on this behavior.

>>> convert_path(None) is None
True

Removes empty paths.

>>> convert_path('foo/./bar').replace('\\', '/')
'foo/bar'
)r"   ÚfspathÚpathlibÚPurePath)Úpathnames    r   Úconvert_pathrH   {   s   € ô  �9Š9”W×%Ò% hÓ/Ó0Ð0r   c                ó  • [         R                  S:X  ae  [         R                  R                  U5      (       d  [         R                  R	                  X5      $ [         R                  R	                  XSS 5      $ [         R                  S:X  a\  [         R                  R                  U5      u  p#US   [         R                  :X  a  USS n[         R                  R	                  X5      $ [        S[         R                   S35      e)zùReturn 'pathname' with 'new_root' prepended.  If 'pathname' is
relative, this is equivalent to "os.path.join(new_root,pathname)".
Otherwise, it requires making 'pathname' relative and then joining the
two, which is tricky on DOS/Windows and Mac OS.
Úposixr
   Nr   r   znothing known about platform 'Ú')r"   r#   ÚpathÚisabsÚjoinÚ
splitdriveÚsepr   )Únew_rootrG   ÚdriverL   s       r   Úchange_rootrS   Ž   s·   € ô 
‡w�w�'ÓÜ�w‰w�}‰}˜X×&Ñ&Ü—7‘7—<‘< Ó3Ð3ä—7‘7—<‘< °1°2¨,Ó7Ð7ä	�‰�D‹ÜŸ™×*Ñ*¨8Ó4‰ˆØ�‰7”b—f‘fÓØ˜˜�8ˆDÜ�w‰w�|‰|˜HÓ+Ð+ä
 Ð#AÄ"Ç'Á'ÀÈ!Ð!LÓ
MÐMr   c                 óZ  • [         R                  S:X  aQ  S[         R                  ;  a=   SSKn U R	                  [         R
                  " 5       5      S   [         R                  S'   S[         R                  ;  a  [        5       [         R                  S'   gg! [        [        4 a     NCf = f)a4  Ensure that 'os.environ' has all the environment variables we
guarantee that users can use in config files, command-line options,
etc.  Currently this includes:
  HOME - user's home directory (Unix only)
  PLAT - description of the current platform, including hardware
         and OS (see 'get_platform()')
rJ   ÚHOMEr   Né   ÚPLAT)	r"   r#   r$   ÚpwdÚgetpwuidÚgetuidÚImportErrorÚKeyErrorr   )rX   s    r   Úcheck_environr]   ¥   sƒ   € ô 
‡w�w�'Ó˜f¬B¯J©JÓ6ð	Ûà!$§¡¬b¯iªi«kÓ!:¸1Ñ!=ŒB�J‰J�vÑð ”R—Z‘ZÓÜ)›^Œ�
‰
�6Òð  øô œXÐ&ó 	ñ ð	ús   ª<B ÂB*Â)B*c                ó
  • [        5         [        [        R                  5      nUR	                  S UR                  5        5       5         [        U 5      R                  U5      $ ! [         a  n[        SU 35      eSnAff = f)a£  
Perform variable substitution on 'string'.
Variables are indicated by format-style braces ("{var}").
Variable is substituted by the value found in the 'local_vars'
dictionary or in 'os.environ' if it's not in 'local_vars'.
'os.environ' is first checked/augmented to guarantee that it contains
certain values: see 'check_environ()'.  Raise ValueError for any
variables not found in either 'local_vars' or 'os.environ'.
c              3  ó@   #   • U  H  u  pU[        U5      4v •  M     g 7f©N©Ústr)Ú.0r#   Úvalues      r   Ú	<genexpr>Úsubst_vars.<locals>.<genexpr>È   s   é € ÐKÒ8J©¨�4œ˜U›Õ$Ò8Jùs   ‚zinvalid variable N)
r]   Údictr"   r$   ÚupdateÚitemsÚ_subst_compatÚ
format_mapr\   Ú
ValueError)rA   Ú
local_varsÚlookupÚvars       r   Ú
subst_varsrp   ¼   sp   € ô „OÜ”"—*‘*Ó€FØ
‡M�MÑK¸
×8HÑ8HÔ8JÓKÔKð4Ü˜QÓ×*Ñ*¨6Ó2Ð2øÜó 4ÜÐ,¨S¨EÐ2Ó3Ð3ûð4ús   ÁA% Á%
BÁ/A=Á=Bc                óx   • S n[         R                  " SX5      nX :w  a  SSKnUR                  S[        5        U$ )zV
Replace shell/Perl-style variable substitution with
format-style. For compatibility.
c                ó,   • SU R                  S5       S3$ )NÚ{r
   Ú})Úgroup)Úmatchs    r   Ú_substÚ_subst_compat.<locals>._substÕ   s   € Ø�E—K‘K “NÐ# 2Ð&Ð&r   z\$([a-zA-Z_][a-zA-Z_0-9]*)r   Nz-shell/Perl-style substitutions are deprecated)ÚreÚsubÚwarningsÚwarnÚDeprecationWarning)rA   rw   Úreplr{   s       r   rj   rj   Ï   s;   € ò'ô �6Š6Ð/°Ó;€DØƒyÛà�‰Ø;Üô	
ð €Kr   c                ó   • U[        U 5      -   $ r`   ra   )ÚexcÚprefixs     r   Úgrok_environment_errorr‚   ã   s   € ð ”C˜“HÑÐr   c                 ó¬   • [         R                  " S[        R                   S35      q[         R                  " S5      q[         R                  " S5      qg )Nz[^\\\'\"z ]*z'(?:[^'\\]|\\.)*'z"(?:[^"\\]|\\.)*")ry   ÚcompileÚstringÚ
whitespaceÚ_wordchars_reÚ
_squote_reÚ
_dquote_rer   r   r   Ú_init_regexrŠ   î   s>   € ä—J’J (¬6×+<Ñ+<Ð*=¸SÐAÓB€MÜ—’Ð0Ó1€JÜ—’Ð0Ó1�Jr   c                ó:  • [         c
  [        5         U R                  5       n / nSnU (       Gam  [         R                  X5      nUR	                  5       nU[        U 5      :X  a  UR                  U SU 5         U$ X   [        R                  ;   a)  UR                  U SU 5        XS R                  5       n SnO¶X   S:X  a  U SU XS-   S -   n US-   nO›X   S:X  a  [        R                  X5      nO/X   S:X  a  [        R                  X5      nO[        SX    S35      eUc  [        S	X    S
35      eUR                  5       u  pTU SU XS-   US-
   -   XS -   n UR	                  5       S-
  nU[        U 5      :¼  a  UR                  U 5         U$ U (       a  GMm  U$ )aæ  Split a string up according to Unix shell-like rules for quotes and
backslashes.  In short: words are delimited by spaces, as long as those
spaces are not escaped by a backslash, or inside a quoted string.
Single and double quotes are equivalent, and the quote characters can
be backslash-escaped.  The backslash is stripped from any two-character
escape sequence, leaving only the escaped character.  The quote
characters are stripped from any quoted string.  Returns a list of
words.
Nr   Ú\r
   rK   Ú"zthis can't happen (bad char 'z')zbad string (mismatched z	 quotes?)é   )r‡   rŠ   Ústriprv   ÚendÚlenÚappendr…   r†   Úlstriprˆ   r‰   ÚRuntimeErrorrl   Úspan)rA   ÚwordsÚposÚmr�   Úbegs         r   Úsplit_quotedrš   õ   s©  € ô ÑÜŒà	�‰‹	€AØ€EØ
€Cç
Ü×Ñ Ó'ˆØ�e‰e‹gˆØ”#�a“&‹=Ø�L‰L˜˜4˜C˜Ô!ØðD €LðA ‰6”V×&Ñ&Ó&ð �L‰L˜˜4˜C˜Ô!Ø�$�—‘Ó ˆAØ‰Cà‰V�t‹^ð �$�3�˜! !™G˜I˜,Ñ&ˆAØ˜‘'‰Cð ‰v˜‹}Ü×$Ñ$ QÓ,‘Ø‘˜3“Ü×$Ñ$ QÓ,‘ä"Ð%BÀ1Á6À(È"Ð#MÓNÐNà‰yÜ Ð#:¸1¹6¸(À)Ð!LÓMÐMàŸ™›‰JˆSØ�$�3�˜! !™G c¨A¡gÐ.Ñ.°°4°Ñ8ˆAØ—%‘%“'˜A‘+ˆCà”#�a“&‹=Ø�L‰L˜ŒOØà€L÷O ‰!ðN €Lr   c                ó„   • Uc"  U R                    U< 3nUSS S:X  a  USS S-   n[        R                  " U5        U " U6   g)z®
Perform some action that affects the outside world (e.g. by
writing to the filesystem). Was previously used to deal with
"dry run" operations, but now runs unconditionally.
Néþÿÿÿz,)r   Ú))Ú__name__r   Úinfo)ÚfuncÚargsÚmsgÚverboses       r   Úexecuter¤   7  sJ   € ð �{Ø—‘� ™xÐ(ˆØˆrˆsˆ8�tÓØ�a˜�)˜c‘/ˆCä‡H‚HˆS„MÙˆ$‚Kr   c                ó\   • U R                  5       n U S;   a  gU S;   a  g[        SU < 35      e)zäConvert a string representation of truth to true (1) or false (0).

True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values
are 'n', 'no', 'f', 'false', 'off', and '0'.  Raises ValueError if
'val' is anything else.
)ÚyÚyesÚtÚtrueÚonÚ1T)rB   ÚnoÚfÚfalseÚoffÚ0Fzinvalid truth value )Úlowerrl   )Úvals    r   Ú	strtoboolr³   K  s:   € ð �)‰)‹+€CØ
Ð2Ó2ØØ	Ð5Ó	5ØäÐ/°©wÐ7Ó8Ð8r   c                óf  • [         R                  (       a  [        S5      eUc  US:H  nU(       Gd)  [        R                  " S5      u  px[
        R                  " SU5        [        R                  " USSS9n	U	   U	R                  S	5        U	R                  S
R                  [        [        U 5      5      S-   5        U	R                  SU< SU< SU< SU< SU< S35        SSS5        [         R                  /n
U
R                  [        R                   " 5       5        U
R#                  U5        [%        U
5        ['        [        R(                  U4SU 35        gSSKJn  U  GH9  nUSS S:w  a  M  US:¼  a(  US:X  a  SOUn[.        R0                  R3                  XÍS9nO[.        R0                  R3                  U5      nUnU(       a3  US[5        U5       U:w  a  [7        SU< SU< 35      eU[5        U5      S nU(       a  [        R8                  R                  XO5      n[        R8                  R;                  U5      nU(       d  Mæ  U(       d  [=        XÎ5      (       a$  [
        R                  " SUU5        U" XÎU5        GM!  [
        R>                  " SUU5        GM<     g! , (       d  f       GNÇ= f)aÈ  Byte-compile a collection of Python source files to .pyc
files in a __pycache__ subdirectory.  'py_files' is a list
of files to compile; any files that don't end in ".py" are silently
skipped.  'optimize' must be one of the following:
  0 - don't optimize
  1 - normal optimization (like "python -O")
  2 - extra optimization (like "python -OO")
If 'force' is true, all files are recompiled regardless of
timestamps.

The source filename encoded in each bytecode file defaults to the
filenames listed in 'py_files'; you can modify these with 'prefix' and
'basedir'.  'prefix' is a string that will be stripped off of each
source filename, and 'base_dir' is a directory name that will be
prepended (after 'prefix' is stripped).  You can supply either or both
(or neither) of 'prefix' and 'base_dir', as you wish.

Byte-compilation is either done directly in this interpreter process
with the standard py_compile module, or indirectly by writing a
temporary script and executing it.  Normally, you should let
'byte_compile()' figure out to use direct compilation or not (see
the source for details).  The 'direct' flag is used by the script
generated in indirect mode; unless you know what you're doing, leave
it set to None.
zbyte-compiling is disabled.Nr   z.pyz$writing byte-compilation script '%s'Úwzutf-8)Úencodingz2from distutils.util import byte_compile
files = [
z,
z]
z
byte_compile(files, optimize=z, force=z,
         prefix=z, base_dir=z,
         verbose=z,
         direct=True)
z	removing )r„   éýÿÿÿr.   )Úoptimizationzinvalid prefix: filename z doesn't start with zbyte-compiling %s to %sz%skipping byte-compilation of %s to %s) ÚsysÚdont_write_bytecoder   ÚtempfileÚmkstempr   rŸ   r"   ÚfdopenÚwriterN   ÚmapÚreprÚ
executableÚextendÚ
subprocessÚ"_optim_args_from_interpreter_flagsr’   r   r¤   ÚremoveÚ
py_compiler„   Ú	importlibÚutilÚcache_from_sourcer‘   rl   rL   Úbasenamer   Údebug)Úpy_filesÚoptimizeÚforcer�   Úbase_dirr£   ÚdirectÚ	script_fdÚscript_nameÚscriptÚcmdr„   ÚfileÚoptÚcfileÚdfileÚ
cfile_bases                    r   Úbyte_compilerÚ   [  sM  € ôH ××Ü'Ð(EÓFÐFð �~Ø'¨1™}ˆ÷ Ü#+×#3Ò#3°EÓ#:Ñ ˆÜ�ŠÐ7¸ÔEÜ—’˜9 c°GÑ<ˆâØ�L‰Lðôð" �L‰L˜Ÿ™¤C¬¨hÓ$7Ó8¸5Ñ@ÔAØ�L‰LðØ&™\¨°%±ð ;Ø‘
˜+ h¡\ð 2Ø‘ð ðô÷' ô8 �~‰~ÐˆØ�
‰
”:×@Ò@ÓBÔCØ�
‰
�;ÔÜˆcŒ
Ü”—	‘	˜K˜>¨Y°{°mÐ+DÕEõ 	'äˆDØ�B�Cˆy˜EÓ!ñ ð
 ˜1‹}Ø$¨›M‘b¨x�Ü!Ÿ™×8Ñ8¸Ð8ÐP‘ä!Ÿ™×8Ñ8¸Ó>�ØˆEÞØ˜œ#˜f›+Ð&¨&Ó0Ü$Ø3°D±8Ð;OÐPVÉzÐZóð ð œc &›k˜mÐ,�ÞÜŸ™Ÿ™ XÓ5�äŸ™×)Ñ)¨%Ó0ˆJßˆvÞœE $×.Ñ.Ü—H’HÐ6¸¸jÔIÙ˜D¨×/ä—I’IÐEÀtÈZ×Xò= ÷S ŽVús   Á8A)J!Ê!
J0c                ó¬   • SnU R                  SS9nU=(       a    US   R                  5       S   US   :g  nU(       a  UOSnUR                  U5      U-   $ )z„Return a version of the string escaped for inclusion in an
RFC-822 header, by ensuring there are 8 spaces space after each newline.
z        T)Úkeependséÿÿÿÿr   r.   )Ú
splitlinesrN   )ÚheaderÚindentÚlinesÚends_in_newlineÚsuffixs        r   Úrfc822_escaperä   à  s`   € ð €FØ×Ñ tÐÐ,€Eð ×F  b¡	× 4Ñ 4Ó 6°qÑ 9¸UÀ2¹YÑ F€OÞ&‰V¨B€Fà�;‰;�uÓ Ñ&Ð&r   c                 óh   • [         R                  S:H  =(       a    [        5       R                  S5      $ )z“Returns True if the current platform is mingw.

Python compiled with Mingw-w64 has sys.platform == 'win32' and
get_platform() starts with 'mingw'.
r   Úmingw)r¹   Úplatformr   Ú
startswithr   r   r   Úis_mingwré   ï  s%   € ô �<‰<˜7Ñ"×I¤|£~×'@Ñ'@ÀÓ'IÐIr   c                 ó@   • [        [        R                  " S5      5      $ )zKReturn True if the Python interpreter is built with free threading support.ÚPy_GIL_DISABLED)Úboolr   r0   r   r   r   Úis_freethreadedrí   ø  s   € ä”	×(Ò(Ð):Ó;Ó<Ð<r   )Úreturnrb   )rA   rb   rî   z	list[int])rG   zstr | os.PathLike[str]rî   rb   )rQ   úAnyStr | os.PathLike[AnyStr]rG   rï   rî   r   )rî   ÚNone)rm   zMapping[str, object]rî   rb   )zerror: )r€   Úobjectr�   rb   rî   rb   )rA   rb   rî   z	list[str])NF)
r    zCallable[[Unpack[_Ts]], object]r¡   ztuple[Unpack[_Ts]]r¢   rñ   r£   rì   rî   rð   )r²   rb   rî   rì   )r   FNNTN)rÌ   zIterable[str]rÍ   r@   rÎ   rì   r�   ú
str | NonerÏ   rò   r£   rì   rÐ   zbool | Nonerî   rð   )rß   rb   rî   rb   )rî   rì   )>Ú__doc__Ú
__future__r   Ú	functoolsÚimportlib.utilrÇ   r"   rE   ry   r…   rÃ   r¹   r   r»   Úcollections.abcr   r   r   Útypingr   r   Újaraco.functoolsr	   Ú_logr   Ú	_modifiedr   Úerrorsr   r   r   Útyping_extensionsr   r   r   r   r   rç   r+   r1   r,   r3   r<   r8   rH   rS   Ú	lru_cacher]   rp   rj   r‚   r‡   rˆ   r‰   rŠ   rš   r¤   r³   rÚ   rä   ré   rí   r   r   r   Ú<module>rÿ      sÐ  ðñõ #ã Û Û 	Û Û 	Û Û Û 
Û Û ß 7Ñ 7ß (å &å Ý ß EÝ æß6á
�uÓ
€Cô$ô
ð ‡<�<�8ÓØÐØ/Ð òò
òô@*ð
 ó1ó ð1ð$NØ*ðNØ6RðNàôNð. ×Ñó,ó ð,ô,4ò&ö(ð +/Ð .€Ð .�
˜Zò2ô<ðJ Øð	Ø
)ðà
ðð 
ðð ð	ð
 
õô(9ð$ ØØØØØðBYØðBYàðBYð ðBYð ð	BYð
 ðBYð ðBYð ðBYð 
õBYôJ'ôJó=r   