+
    Ž°³jå!  ã                  ój  a € 0 t $ R t^ RIHt ^ RIt^ RIt^ RIHt ^ RIH	t	 ^ RI
HtHt ^RIHt ^RIHt ^RIHt ^R	IHt RtR
]R&   ]P,                  ! ]4      ;_uu_ 4        ^ RItRRR4       RtR
]R&   RtR
]R&   ]P,                  ! ]4      ;_uu_ 4        ^ RIt^ RItRRR4       R tR tR)R R lltR*R R lltR]R+.R3R]R,.R3R]R-.R3R]R..R3R]R/.R3R]. R3/tR ]R!&   R" t]R0R# R$ ll4       t ]R1R% R& ll4       t R0R' R( llt R#   + '       g   i     L°; i  + '       g   i     LŠ; i)2zodistutils.archive_util

Utility functions for creating archive files (tarballs, zip files,
that sort of thing).)ÚannotationsN)ÚCallable)Ú
ModuleType)ÚLiteralÚoverload)Úlog)Úmkpath)ÚDistutilsExecError)ÚspawnzModuleType | NoneÚzipfileÚgrpÚpwdc                ó�   € \         e   V f   R#  \         P                  ! V 4      pVe
   V^,          # R#   \         d    Rp Li ; i)z"Returns a gid, given a group name.N)r   ÚgetgrnamÚKeyError©ÚnameÚresults   & Úc/home/luca/screen-checking/.venv/lib/python3.14/site-packages/setuptools/_distutils/archive_util.pyÚ_get_gidr      óL   € ä
‚{�d’lÙðÜ—’˜dÓ#ˆð ÒØ�a�yÐÙøô	 ô ØŠðúó   �5 µAÁAc                ó�   € \         e   V f   R#  \         P                  ! V 4      pVe
   V^,          # R#   \         d    Rp Li ; i)z"Returns an uid, given a user name.N)r   Úgetpwnamr   r   s   & r   Ú_get_uidr   +   r   r   c               ó4   € V ^8„  d   QhRRRRRRRRR	R
RR
RR/# )é   Ú	base_nameÚstrÚbase_dirústr | os.PathLike[str]Úcompressz%Literal['gzip', 'bzip2', 'xz'] | NoneÚverboseÚboolÚownerú
str | NoneÚgroupÚreturn© )Úformats   "r   Ú__annotate__r*   8   sN   € ÷ ?ñ ?Øð?à$ð?ð 4ð?ð ð	?ð
 ð?ð ð?ð 	ñ?ó    c                ó  aaaa€ RRRRRRRR/pRRRR	RR
/pVe   W'9  d   \        R4      hV R,           pW‡P                  VR4      ,          p\        \        P                  P                  V4      4       ^ RIp	\        P                  ! R4       \        S4      o\        S4      oVVVV3R lp
V	P                  VRWb,           24      ;_uu_ 4       pVP                  WR7       RRR4       V#   + '       g   i     T# ; i)aÚ  Create a (possibly compressed) tar file from all the files under
'base_dir'.

'compress' must be "gzip" (the default), "bzip2", "xz", or None.

'owner' and 'group' can be used to define an owner and a group for the
archive that is being built. If not provided, the current owner and group
will be used.

The output tar file will be named 'base_dir' +  ".tar", possibly plus
the appropriate compression extension (".gz", ".bz2", ".xz" or ".Z").

Returns the output filename.
ÚgzipÚgzÚbzip2Úbz2ÚxzNÚ z.gzz.bz2z.xzz=bad value for 'compress': must be None, 'gzip', 'bzip2', 'xz'z.tarzCreating tar archivec                óP   <€ Se   SV n         SV n        Se   SV n        SV n        V # ©N)ÚgidÚgnameÚuidÚuname)Útarinfor5   r&   r$   r7   s   &€€€€r   Ú_set_uid_gidÚ"make_tarball.<locals>._set_uid_gidi   s.   ø€ ØŠ?ØˆGŒKØ!ˆGŒMØŠ?ØˆGŒKØ!ˆGŒMØˆr+   zw|)Úfilter)Ú
ValueErrorÚgetr   ÚosÚpathÚdirnameÚtarfiler   Úinfor   r   ÚopenÚadd)r   r   r!   r"   r$   r&   Útar_compressionÚcompress_extÚarchive_namerB   r:   Útarr5   r7   s   &&&&ff      @@r   Úmake_tarballrJ   8   s	  û€ ð. 	�Ø�ØˆdØˆbð	€Oð ˜E 7¨F°D¸%Ð@€Lð Ò Ô <ÜØKó
ð 	
ð ˜vÕ%€LØ×$Ñ$ X¨rÓ2Õ2€Lä
Œ2�7‰7�?‰?˜<Ó(Ô)ó ä‡H‚HÐ#Ô$ä
�5‹/€CÜ
�5‹/€C÷ð ð 
�‰Ø˜˜?Õ4Ð5Ð6÷
ô 
à	Ø�‰�ˆÔ.÷
ð
 Ð÷
ö 
ð
 Ðús   ÃC.Ã.C?	c               ó(   € V ^8„  d   QhRRRRRRRR/# )r   r   r   r   r    r"   r#   r'   r(   )r)   s   "r   r*   r*   z   s0   € ÷ ;ñ ;Øð;à$ð;ð ð;ð 	ñ	;r+   c                ój  € V R,           p\        \        P                  P                  V4      4       \        f   V'       d   RpMRp \        RWCV.4       V# \        P                  ! RW14        \        P                  ! VR	\        P                  R
7      pT;_uu_ 4        V\        P                  8w  df   \        P                  P                  \        P                  P                  VR4      4      pVP!                  Wf4       \        P                  ! RV4       \        P"                  ! V4       EF	  w  rxp	V Fh  p
\        P                  P                  \        P                  P                  WzR4      4      pVP!                  Wf4       \        P                  ! RV4       Kj  	  V	 FŽ  p
\        P                  P                  \        P                  P                  Wz4      4      p\        P                  P%                  V4      '       g   Kf  VP!                  Wf4       \        P                  ! RV4       K�  	  EK  	  RRR4       V#   \         d    \        RT R24      hi ; i  \         d,    \        P                  ! TR	\        P                  R
7      p ELi ; i  + '       g   i     T# ; i)a^  Create a zip file from all the files under 'base_dir'.

The output zip file will be named 'base_name' + ".zip".  Uses either the
"zipfile" Python module (if available) or the InfoZIP "zip" utility
(if installed and found on the default search path).  If neither tool is
available, raises DistutilsExecError.  Returns the name of the output zip
file.
z.zipNz-rz-rqÚzipzunable to create zip file 'zN': could neither import the 'zipfile' module nor find a standalone zip utilityz#creating '%s' and adding '%s' to itÚw)Úcompressionr2   zadding '%s')r   r?   r@   rA   r   r
   r	   r   rC   ÚZipFileÚZIP_DEFLATEDÚRuntimeErrorÚ
ZIP_STOREDÚcurdirÚnormpathÚjoinÚwriteÚwalkÚisfile)r   r   r"   Úzip_filenameÚ
zipoptionsrM   r@   ÚdirpathÚdirnamesÚ	filenamesr   s   &&&        r   Úmake_zipfiler_   z   s  € ð ˜vÕ%€LÜ
Œ2�7‰7�?‰?˜<Ó(Ô)ô ‚ßØ‰JàˆJð		Ü�5˜*°HÐ=Ô>ðD Ðô/ 	�ŠÐ6¸ÔOð	UÜ—/’/ ,°Ä×AUÑAUÔVˆC÷ ŠSØœ2Ÿ9™9Ô$Ü—w‘w×'Ñ'¬¯©¯©°X¸rÓ(BÓC�Ø—	‘	˜$Ô%Ü—’˜¨Ô-Ü02·²¸×0AÑ,� 9Û$�DÜŸ7™7×+Ñ+¬B¯G©G¯L©L¸ÈÓ,KÓL�DØ—I‘I˜dÔ)Ü—H’H˜]¨DÖ1ñ %ó &�DÜŸ7™7×+Ñ+¬B¯G©G¯L©L¸Ó,GÓH�DÜ—w‘w—~‘~ d×+Ô+ØŸ	™	 $Ô-ÜŸš °Ö5ô	 &ñ 1B÷ ð  ÐøôC "ô 	ô %Ø-¨l¨^ð <0ð 0óð ð	ûô ô 	UÜ—/’/ ,°Ä×ASÑASÔT‹Cð	Uú÷ ŽSð  Ðús1   ÁI
 Á0'I( Â!E)J!È1J!É
I%É(2JÊJÊ!J2	Úgztarzgzip'ed tar-fileÚbztarzbzip2'ed tar-fileÚxztarzxz'ed tar-fileÚztarzcompressed tar filerI   zuncompressed tar filerM   zZIP filezGdict[str, tuple[Callable[..., str], list[tuple[str, str | None]], str]]ÚARCHIVE_FORMATSc                ó6   € V  F  pV\         9  g   K  Vu # 	  R# )ziReturns the first format from the 'format' list that is unknown.

If all formats are known, returns None
N)rd   )Úformatsr)   s   & r   Úcheck_archive_formatsrg   Ä   s    € ó
 ˆØœÖ(ØŠMñ ñ r+   c               ó8   € V ^8„  d   QhRRRRRRRRRR	R
RRRRR/# )r   r   r   r)   Úroot_dirú:str | os.PathLike[str] | bytes | os.PathLike[bytes] | Noner   r%   r"   r#   r$   r&   r'   r(   )r)   s   "r   r*   r*   Ð   sY   € ÷ ñ Øðàðð Iðð ð	ð
 ðð ðð ðð 	ñr+   c                ó   € R # r4   r(   ©r   r)   ri   r   r"   r$   r&   s   &&&&&&&r   Úmake_archiverm   Ï   ó   € ñ r+   c               ó8   € V ^8„  d   QhRRRRRRRRR	R
RRRRRR/# )r   r   r    r)   r   ri   z3str | os.PathLike[str] | bytes | os.PathLike[bytes]r   r%   r"   r#   r$   r&   r'   r(   )r)   s   "r   r*   r*   Ú   sY   € ÷ ñ Ø%ðàðð Bðð ð	ð
 ðð ðð ðð 	ñr+   c                ó   € R # r4   r(   rl   s   &&&&&&&r   rm   rm   Ù   rn   r+   c               ó8   € V ^8„  d   QhRRRRRRRRR	R
RRRRRR/# )r   r   r    r)   r   ri   rj   r   r%   r"   r#   r$   r&   r'   r(   )r)   s   "r   r*   r*   ã   sY   € ÷ 7ñ 7Ø%ð7àð7ð Ið7ð ð	7ð
 ð7ð ð7ð ð7ð 	ñ7r+   c                ó˜  € \         P                  ! 4       pVeM   \        P                  ! RV4       \         P                  P                  V 4      p \         P                  ! V4       Vf   \         P                  p/ p \        V,          p	T	^ ,          p
TP                  T	^,          4       TR8w  d	   YXR&   YhR&    T
! Y3/ TB pTe.   \        P                  ! RT4       \         P                  ! T4       T#   \         d    \        RT R24      hi ; i  Te/   \        P                  ! RT4       \         P                  ! T4       i i ; i)aÌ  Create an archive file (eg. zip or tar).

'base_name' is the name of the file to create, minus any format-specific
extension; 'format' is the archive format: one of "zip", "tar", "gztar",
"bztar", "xztar", or "ztar".

'root_dir' is a directory that will be the root directory of the
archive; ie. we typically chdir into 'root_dir' before creating the
archive.  'base_dir' is the directory where we start archiving from;
ie. 'base_dir' will be the common prefix of all files and
directories in the archive.  'root_dir' and 'base_dir' both default
to the current directory.  Returns the name of the archive file.

'owner' and 'group' are used when creating a tar archive. By default,
uses the current owner and group.
zchanging into '%s'zunknown archive format 'Ú'rM   r$   r&   zchanging back to '%s')r?   Úgetcwdr   Údebugr@   ÚabspathÚchdirrT   rd   r   r=   Úupdate)r   r)   ri   r   r"   r$   r&   Úsave_cwdÚkwargsÚformat_infoÚfuncÚfilenames   &&&&&&&     r   rm   rm   ã   s  € ô2 �yŠy‹{€HØÒÜ�	Š	Ð&¨Ô1Ü—G‘G—O‘O IÓ.ˆ	Ü
�Š�ÔàÒÜ—9‘9ˆà+-€Fð?Ü% fÕ-ˆð �q�>€DØ
‡M�M�+˜a•.Ô!à�„Øˆw‰Øˆw‰ðÙ˜	Ñ6¨vÑ6ˆàÒÜ�IŠIÐ-¨xÔ8Ü�HŠH�XÔà€Oøô# ô ?ÜÐ3°F°8¸1Ð=Ó>Ð>ð?ûð ÒÜ�IŠIÐ-¨xÔ8Ü�HŠH�XÕð  ús   Á=C7 Â;	D Ã7DÄ4E	)r-   FNN)F)r!   r-   )r!   r/   )r!   r1   )r!   r!   )r!   N)NNFNN)NFNN)!Ú__conditional_annotations__Ú__doc__Ú
__future__r   Ú
contextlibr?   Úcollections.abcr   Útypesr   Útypingr   r   Ú_logr   Údir_utilr   Úerrorsr	   r
   r   Ú__annotations__ÚsuppressÚImportErrorr   r   r   r   rJ   r_   rd   rg   rm   )r~   s   @r   Ú<module>r‹      sZ  øðôõ
 #ã Û 	Ý $Ý ß $å Ý Ý &Ý à!€Ð	Ó !Ø×Ò˜×%Õ%Û÷ &ð €ÐÓ Ø€ÐÓ Ø×Ò˜×%Õ%ÛÛ÷ &ò

ò
÷?÷D;ðB ˆlÐ1Ð2Ð4FÐGØˆlÐ2Ð3Ð5HÐIØˆlÐ/Ð0Ð2BÐCØ
ˆ\Ð4Ð5Ð7LÐMØ	ˆLÐ-Ð.Ð0GÐHØ	ˆL˜"˜jÐ)ðð ð ó 	òð 
öó 
ðð 
öó 
ð÷7ñ 7÷_ &×%ú÷
 &×%ús   Á"DÂ	D"ÄD	Ä"D2	