Ë
    óÇ:jšd  ã                  ód  — d Z ddlmZ ddlZddlZddlZddlZddlZddlm	Z	 ddl
Z
ddlZ
ddlZ
ddlmZ ddlmZ ddlmZ ddlmZmZ ddlmZ dd	lmZ d
dlmZmZ d
dlmZ d
dlm Z  ddlm!Z! ddl"Z#ddl$Z#ddl#m%Z% ddl"m&Z& ddl$m'Z( ddl)m*Z* ejV                  jX                  › dejV                  jZ                  › �Z.d„ Z/ G d„ d«      Z0 G d„ de0e«      Z1 G d„ de(«      Z' G d„ de«      Z2d(d„Z3d(d„Z4d(d „Z5e!jl                  Z6e!jn                  Z7d(d!„Z8d(d"„Z9d)d*d#„Z:d(d$„Z;d+d%„Z< G d&„ d'e «      Z=y),zUsetuptools.command.egg_info

Create a distribution's .egg-info directory and contentsé    )ÚannotationsN)ÚCallable)ÚCommand)Ú	bdist_egg)ÚsdistÚwalk_revctrl)Úedit_config)Úglobé   )Ú_entry_pointsÚ_normalization)Úmetadata)ÚSetuptoolsDeprecationWarningé   )Ú_requirestxt)Úlog)ÚDistutilsInternalError)ÚFileList)Úconvert_pathú.c                ó¬  — d} | j                   t        j                  j                  «      }t	        j
                  t        j                  «      }d|› d�}t        |«      D �]6  \  }}|t        |«      dz
  k(  }|dk(  r|r|dz  }n|d|› d|› d	�z  }Œ2d
}t        |«      }	||	k  rê||   }
|
dk(  r	||dz   z  }nÌ|
dk(  r||z  }nÁ|
dk(  r¤|dz   }||	k  r||   dk(  r|dz   }||	k  r||   dk(  r|dz   }||	k  r||   dk7  r|dz   }||	k  r	||   dk7  rŒ||	k\  r|t	        j
                  |
«      z  }nU||dz   | }d}|d
   dk(  rd}|dd }|t	        j
                  |«      z  }|d|› d�z  }|}n|t	        j
                  |
«      z  }|dz  }||	k  rŒê|r�Œ2||z  }�Œ9 |dz  }t	        j                  |t        j                  t        j                  z  ¬«      S )zö
    Translate a file path glob like '*.txt' in to a regular expression.
    This differs from fnmatch.translate which allows wildcards to match
    directory separators. It also knows about '**/' which matches any number of
    directories.
    Ú z[^ú]r   ú**z.*z(?:ú+z)*r   Ú*ú?ú[ú!ú^Nz\Z)Úflags)ÚsplitÚosÚpathÚsepÚreÚescapeÚ	enumerateÚlenÚcompileÚ	MULTILINEÚDOTALL)r
   ÚpatÚchunksr%   Ú
valid_charÚcÚchunkÚ
last_chunkÚiÚ	chunk_lenÚcharÚinner_iÚinnerÚ
char_classs                 úp/home/mcse/projects/srt_converter/srt-converter-venv/lib/python3.12/site-packages/setuptools/command/egg_info.pyÚtranslate_patternr:   (   s?  € ð €Cð ˆT�Z‰ZœŸ™Ÿ™Ó$€Fä
�)‰)”B—F‘FÓ
€CØ�c�U˜!�€Jä˜fÓ%ó >‰ˆˆ5Øœ#˜f›+¨™/Ñ)ˆ
ð �DŠ=Ùà�t‘‘ð ˜˜Z˜L¨¨#¨¨bÐ1Ñ1�Øð ˆÜ˜“Jˆ	Ø�)ŠmØ˜‘8ˆDØ�sŠ{à�z CÑ'Ñ'‘Ø˜’à�zÑ!‘Ø˜’à˜a™%�à˜YÒ&¨5°©>¸SÒ+@Ø%¨™k�GØ˜YÒ&¨5°©>¸SÒ+@Ø%¨™k�Gð  	Ò)¨e°G©nÀÒ.CØ%¨™k�Gð  	Ò)¨e°G©nÀÓ.Cð ˜iÒ'ð œ2Ÿ9™9 T›?Ñ*‘Cð " ! a¡%¨'Ð2�EØ!#�Jð ˜Q‘x 3’Ø%(˜
Ø % a b 	˜à¤"§)¡)¨EÓ"2Ñ2�JØ˜Q˜z˜l¨!Ð,Ñ,�Cð  ‘Aà”r—y‘y “Ñ&�Ø�‰FˆAðU �)‹móZ Ø�3‰JŠCð}>ð@ ˆ5�L€CÜ�:‰:�c¤§¡´·	±	Ñ!9Ô:Ð:ó    c                  óX   — e Zd ZdZdZed„ «       Zd„ Zd„ Zdd„Z	d	d„Z
d	d„Z ee«      Zy)
Ú
InfoCommonNc                ó\   — t        j                  | j                  j                  «       «      S ©N)r   Ú	safe_nameÚdistributionÚget_name©Úselfs    r9   ÚnamezInfoCommon.name   s"   € ä×'Ñ'¨×(9Ñ(9×(BÑ(BÓ(DÓEÐEr;   c                ó~   — | j                  | j                  j                  «       «      }t        j                  |«      S r?   )Ú
_maybe_tagrA   Úget_versionr   Úsafe_version)rD   Útaggeds     r9   Útagged_versionzInfoCommon.tagged_versionƒ   s0   € Ø—‘ ×!2Ñ!2×!>Ñ!>Ó!@ÓAˆÜ×*Ñ*¨6Ó2Ð2r;   c                ó^   — | j                   r| j                  |«      r|S || j                   z   S )z�
        egg_info may be called more than once for a distribution,
        in which case the version string already contains all tags.
        )ÚvtagsÚ_already_tagged©rD   Úversions     r9   rG   zInfoCommon._maybe_tag‡   s5   € ð �zŠz˜d×2Ñ2°7Ô;ð ð	
ð ˜4Ÿ:™:Ñ%ð	
r;   c                óX   — |j                  | j                  | j                  «       f«      S r?   )ÚendswithrM   Ú
_safe_tagsrO   s     r9   rN   zInfoCommon._already_tagged’   s%   € ð ×Ñ §¡¨T¯_©_Ó->Ð ?Ó@Ð@r;   c                óò   — 	 t        j                  d| j                  › �«      dd  S # t        j                  j
                  $ r2 t        j                  | j                  j                  dd«      «      cY S w xY w)NÚ0r   ú r   )r   rI   rM   Ú	packagingrP   ÚInvalidVersionr@   ÚreplacerC   s    r9   rS   zInfoCommon._safe_tags—   sj   € ð	JÜ!×.Ñ.°°4·:±:°,Ð/?Ó@ÀÀÐDÐDøÜ× Ñ ×/Ñ/ò 	JÜ!×+Ñ+¨D¯J©J×,>Ñ,>¸sÀCÓ,HÓIÒIð	Jús   ‚$' §AA6Á5A6c                óˆ   — d}| j                   r|| j                   z  }| j                  r|t        j                  d«      z  }|S )Nr   z%Y%m%d)Ú	tag_buildÚtag_dateÚtimeÚstrftimerO   s     r9   ÚtagszInfoCommon.tagsŸ   s;   € ØˆØ�>Š>Ø�t—~‘~Ñ%ˆGØ�=Š=Ø”t—}‘} XÓ.Ñ.ˆGØˆr;   )rP   ÚstrÚreturnÚbool)ra   r`   )Ú__name__Ú
__module__Ú__qualname__r[   r\   ÚpropertyrE   rK   rG   rN   rS   r_   rM   © r;   r9   r=   r=   {   sF   „ Ø€IØ€HàñFó ðFò3ò	
óAó
Jóñ �T‹N�Er;   r=   c                  óª   — e Zd ZdZg d¢ZdgZddiZd„ Zedd„«       Z	e	j                  dd„«       Z	dd„Zdd	„Zed
fd„Zddd„Zdd„Zdd„Zdd„Zdd„Zy
)Úegg_infoz+create a distribution's .egg-info directory))z	egg-base=ÚezLdirectory containing .egg-info directories [default: top of the source tree])útag-dateÚdz0Add date stamp (e.g. 20050528) to version number)z
tag-build=Úbz-Specify explicit tag to add to version number)úno-dateÚDz"Don't include date stamp [default]rk   rn   c                óJ   — d | _         d | _        d | _        d | _        d| _        y )NF)Úegg_baseÚegg_nameri   Úegg_versionÚignore_egg_info_in_manifestrC   s    r9   Úinitialize_optionszegg_info.initialize_options¾   s'   € ØˆŒØˆŒØˆŒØˆÔØ+0ˆÕ(r;   c                 ó   — y r?   rg   rC   s    r9   Útag_svn_revisionzegg_info.tag_svn_revisionÈ   ó   € àr;   c                 ó   — y r?   rg   )rD   Úvalues     r9   rw   zegg_info.tag_svn_revisionÌ   rx   r;   c                óf   — t        | j                  «       d¬«      }t        |t        |¬«      «       y)z³
        Materialize the value of date into the
        build tag. Install build keys in a deterministic order
        to avoid arbitrary reordering on subsequent builds.
        r   )r[   r\   )ri   N)Údictr_   r	   )rD   Úfilenameri   s      r9   Úsave_version_infozegg_info.save_version_infoÒ   s%   € ô  $§)¡)£+¸Ô:ˆÜ�Hœd¨HÔ5Õ6r;   c                óú  — | j                   | _        | j                  «       | _        t        j
                  j                  | j                  «      }	 t        |t        j
                  j                  «      }|rdnd}t        j                  j                  || j                  | j                  fz  «       | j                  €?| j                  j                   }|xs i j#                  dt$        j&                  «      | _        | j)                  d«       t+        j,                  | j                  «      dz   | _        | j                  t$        j&                  k7  r9t$        j0                  j3                  | j                  | j.                  «      | _        | j                  | j                  j4                  _        y # t        $ r?}t        j                  j                  d| j                  › d| j                  › �«      |‚d }~ww xY w)Nz%s==%sz%s===%sz-Invalid distribution name or version syntax: ú-r   rq   ú	.egg-info)rE   rr   rK   rs   rW   rP   ÚVersionÚ
isinstanceÚrequirementsÚRequirementÚ
ValueErrorÚ	distutilsÚerrorsÚDistutilsOptionErrorrq   rA   Úpackage_dirÚgetr#   ÚcurdirÚensure_dirnamer   Úfilename_componentri   r$   Újoinr   )rD   Úparsed_versionÚ
is_versionÚspecrj   Údirss         r9   Úfinalize_optionszegg_info.finalize_optionsÝ   s€  € ð
 Ÿ	™	ˆŒØ×.Ñ.Ó0ˆÔÜ"×*Ñ*×2Ñ2°4×3CÑ3CÓDˆð	Ü# N´I×4EÑ4E×4MÑ4MÓNˆJÙ)‘8¨yˆDÜ×"Ñ"×.Ñ.¨t°t·}±}Àd×FVÑFVÐ6WÑ/WÔXð �=‰=Ð Ø×$Ñ$×0Ñ0ˆDØ!šZ R×,Ñ,¨R´·±Ó;ˆDŒMà×Ñ˜JÔ'Ü&×9Ñ9¸$¿-¹-ÓHÈ;ÑVˆŒØ�=‰=œBŸI™IÒ%ÜŸG™GŸL™L¨¯©¸¿¹ÓFˆDŒMð
 .2×-=Ñ-=ˆ×Ñ×"Ñ"Õ*øô# ò 	Ü×"Ñ"×7Ñ7Ø?ÀÇÁ¸ÈaÐPT×P`ÑP`ÐOaÐbóàðûð	ús   ÁA"F2 Æ2	G:Æ;:G5Ç5G:Nc                óF   — t        | j                  | j                  ||«      S )ú0Compute filename of the output egg. Private API.)Ú_egg_basenamerr   rs   )rD   Ú
py_versionÚplatforms      r9   Ú_get_egg_basenamezegg_info._get_egg_basenameý   s   € ä˜TŸ]™]¨D×,<Ñ,<¸jÈ(ÓSÐSr;   c                óÊ   — |r| j                  |||«       yt        j                  j                  |«      r.|€|st	        j
                  d||«       y| j                  |«       yy)a¹  Write `data` to `filename` or delete if empty

        If `data` is non-empty, this routine is the same as ``write_file()``.
        If `data` is empty but not ``None``, this is the same as calling
        ``delete_file(filename)`.  If `data` is ``None``, then this is a no-op
        unless `filename` exists, in which case a warning is issued about the
        orphaned file (if `force` is false), or deleted (if `force` is true).
        Nz$%s not set in setup(), but %s exists)Ú
write_filer#   r$   Úexistsr   ÚwarnÚdelete_file)rD   Úwhatr}   ÚdataÚforces        r9   Úwrite_or_delete_filezegg_info.write_or_delete_file  sU   € ñ Ø�O‰O˜D (¨DÕ1Ü�W‰W�^‰^˜HÔ%Øˆ|¡EÜ—‘Ð?ÀÀxÔPØà× Ñ  Õ*ð &r;   c                ó®   — t        j                  d||«       |j                  d«      }t        |d«      }|j	                  |«       |j                  «        y)zªWrite `data` to `filename` (if not a dry run) after announcing it

        `what` is used in a log message to identify what is being written
        to the file.
        zwriting %s to %súutf-8ÚwbN)r   ÚinfoÚencodeÚopenÚwriteÚclose)rD   r    r}   r¡   Úfs        r9   rœ   zegg_info.write_file  sC   € ô 	�‰Ð# T¨8Ô4Ø�{‰{˜7Ó#ˆÜ�˜4Ó ˆØ	�‰�ŒØ	�‰�	r;   c                óZ   — t        j                  d|«       t        j                  |«       y)z8Delete `filename` (if not a dry run) after announcing itzdeleting %sN)r   r§   r#   Úunlink)rD   r}   s     r9   rŸ   zegg_info.delete_file  s   € ä�‰� Ô)Ü
�	‰	�(Õr;   c           	     óÊ  — t        t        j                  d¬«      «      }| j                  | j                  «       	 t        j                  | j                  d «       |D ]X  }|j                  «       } || |j                  t
        j                  j                  | j                  |j                  «      «       ŒZ t
        j                  j                  | j                  d«      }t
        j                  j                  |«      r| j!                  |«       | j#                  «        y # t        $ r5}d| j                  › d�}t        j                  j                  |«      |‚d }~ww xY w)Nzegg_info.writers)Úgroupz'Cannot update time stamp of directory 'ú'znative_libs.txt)Úlistr   Úentry_pointsÚmkpathri   r#   ÚutimeÚOSErrorr‡   rˆ   ÚDistutilsFileErrorÚloadrE   r$   r�   r�   rŸ   Úfind_sources)rD   Úwritersrj   ÚmsgÚepÚwriterÚnls          r9   Úrunzegg_info.run$  s  € ô ”x×,Ñ,Ð3EÔFÓGˆà�‰�D—M‘MÔ"ð	BÜ�H‰H�T—]‘] DÔ)ð ò 	HˆBØ—W‘W“YˆFÙ�4˜Ÿ™¤"§'¡'§,¡,¨t¯}©}¸b¿g¹gÓ"FÕGð	Hô
 �W‰W�\‰\˜$Ÿ-™-Ð):Ó;ˆÜ�7‰7�>‰>˜"ÔØ×Ñ˜RÔ à×ÑÕøô ò 	BØ;¸D¿M¹M¸?È!ÐLˆCÜ×"Ñ"×5Ñ5°cÓ:ÀÐAûð	Bús   ¼ D$ Ä$	E"Ä-0EÅE"c                óô   — t         j                  j                  | j                  d«      }t	        | j
                  «      }| j                  |_        ||_        |j                  «        |j                  | _
        y)z"Generate SOURCES.txt manifest filezSOURCES.txtN)r#   r$   r�   ri   Úmanifest_makerrA   rt   Úignore_egg_info_dirÚmanifestr¿   Úfilelist)rD   Úmanifest_filenameÚmms      r9   r¹   zegg_info.find_sources:  sT   € äŸG™GŸL™L¨¯©¸ÓFÐÜ˜D×-Ñ-Ó.ˆØ!%×!AÑ!AˆÔØ'ˆŒØ
�‰ŒØŸ™ˆ�r;   )ra   z
int | None©ra   ÚNone©F©r¢   rb   ra   rÈ   )rc   rd   re   ÚdescriptionÚuser_optionsÚboolean_optionsÚnegative_optru   rf   rw   Úsetterr~   r”   ÚPY_MAJORrš   r£   rœ   rŸ   r¿   r¹   rg   r;   r9   ri   ri   ª   s‡   „ Ø?€Kò
€Lð "�l€Oà�:ð€Lò1ð òó ðð ×Ñòó ðó
	7ó>ð@ ,4¸dó Tô+ó$
óó
ô,$r;   ri   c                  ó„   ‡ — e Zd Z	 d	 	 	 dˆ fd„Zdd„Zd„ Zd„ Zd„ Zd„ Zd„ Z	d„ Z
d	„ Zd
„ Zd„ Zdd„Zdd„Zd„ Zd„ Zˆ xZS )r   c                ó4   •— t         ‰| �  ||«       || _        y r?   )ÚsuperÚ__init__rÂ   )rD   rž   Údebug_printrÂ   Ú	__class__s       €r9   rÔ   zFileList.__init__G  s   ø€ ô 	‰Ñ˜˜{Ô+Ø#6ˆÕ r;   c           	     óˆ  — | j                  |«      \  }}}}| j                  | j                  | j                  | j                  t        j                  | j                  |«      t        j                  | j                  |«      | j                  | j                  dœ}dddddddd	dœ}	 ||   }|j                  d«      }
|dv r|g}|
r|fnd}||   }| j                  dj                  |g|
r|gng z   |z   «      «       |D ]"  } ||«      rŒt!        j"                  ||g|¢­Ž  Œ$ y # t        $ r d
|›d|›�}	t        |	«      d ‚w xY w)N)ÚincludeÚexcludezglobal-includezglobal-excludezrecursive-includezrecursive-excludeÚgraftÚprunez%warning: no files found matching '%s'z9warning: no previously-included files found matching '%s'z>warning: no files found matching '%s' anywhere in distributionzRwarning: no previously-included files matching '%s' found anywhere in distributionz:warning: no files found matching '%s' under directory '%s'zNwarning: no previously-included files matching '%s' found under directory '%s'z+warning: no directories found matching '%s'z6no previously-included directories found matching '%s'z$Invalid MANIFEST.in: unknown action z in z
recursive->   rÚ   rÛ   rg   rV   )Ú_parse_template_linerØ   rÙ   Úglobal_includeÚglobal_excludeÚ	functoolsÚpartialÚrecursive_includeÚrecursive_excluderÚ   rÛ   ÚKeyErrorr   Ú
startswithrÕ   r�   r   rž   )rD   ÚlineÚactionÚpatternsÚdirÚdir_patternÚ
action_mapÚlog_mapÚprocess_actionr»   Úaction_is_recursiveÚextra_log_argsÚlog_tmplÚpatterns                 r9   Úprocess_template_linezFileList.process_template_lineM  s‰  € ð 04×/HÑ/HÈÓ/NÑ,ˆ�˜3 ð —|‘|Ø—|‘|Ø"×1Ñ1Ø"×1Ñ1Ü!*×!2Ñ!2Ø×&Ñ&Øó"ô "+×!2Ñ!2Ø×&Ñ&Øó"ð —Z‘ZØ—Z‘Zñ+
ˆ
ð" ?ØSàPð6ð Mð2ð CØMñ%
ˆð*	8Ø'¨Ñ/ˆNð %×/Ñ/°Ó=ÐØÐ'Ñ'Ø#�}ˆHÙ#6˜#™¸BˆØ˜6‘?ˆà×ÑØ�H‰HØ�Ñ%8˜S™E¸bÑAÀHÑLóô	
ð
  ò 	=ˆGÙ! 'Õ*Ü—‘˜ 7Ð<¨^Ô<ñ	=øô' ò 	8Ø8¸¸
À$ÀtÀhÐOˆCÜ(¨Ó-°4Ð7ð	8ús   Â&D# Ä#Ec                óæ   — d}t        t        | j                  «      dz
  dd«      D ]H  } || j                  |   «      sŒ| j                  d| j                  |   z   «       | j                  |= d}ŒJ |S )z†
        Remove all files from the file list that match the predicate.
        Return True if any matching files were removed
        Fr   éÿÿÿÿz
 removing T)Úranger)   ÚfilesrÕ   )rD   Ú	predicateÚfoundr3   s       r9   Ú_remove_fileszFileList._remove_files“  sp   € ð
 ˆÜ”s˜4Ÿ:™:“¨Ñ*¨B°Ó3ò 	ˆAÙ˜Ÿ™ A™Õ'Ø× Ñ  °·
±
¸1±Ñ!=Ô>Ø—J‘J˜q�MØ‘ð		ð
 ˆr;   c                ó´   — t        |«      D �cg c]$  }t        j                  j                  |«      rŒ#|‘Œ& }}| j	                  |«       t        |«      S c c}w )z#Include files that match 'pattern'.)r
   r#   r$   ÚisdirÚextendrb   )rD   rð   r¬   r÷   s       r9   rØ   zFileList.include   sD   € ä  ›MÖB�q´·±·±¸qÕ1A’ÐBˆÐBØ�‰�EÔÜ�E‹{Ðùò Cs
   Ž$A³Ac                óN   — t        |«      }| j                  |j                  «      S )z#Exclude files that match 'pattern'.)r:   rø   Úmatch©rD   rð   rý   s      r9   rÙ   zFileList.exclude¦  s!   € ä! 'Ó*ˆØ×!Ñ! %§+¡+Ó.Ð.r;   c                óú   — t         j                  j                  |d|«      }t        |d¬«      D �cg c]$  }t         j                  j	                  |«      rŒ#|‘Œ& }}| j                  |«       t        |«      S c c}w )zN
        Include all files anywhere in 'dir/' that match the pattern.
        r   T)Ú	recursive)r#   r$   r�   r
   rú   rû   rb   )rD   rè   rð   Úfull_patternr¬   r÷   s         r9   rá   zFileList.recursive_include«  s`   € ô —w‘w—|‘| C¨¨wÓ7ˆÜ  ¸Ô>ÖW�qÄbÇgÁgÇmÁmÐTUÕFV’ÐWˆÐWØ�‰�EÔÜ�E‹{Ðùò Xs   ±$A8ÁA8c                óŒ   — t        t        j                  j                  |d|«      «      }| j	                  |j
                  «      S )zM
        Exclude any file anywhere in 'dir/' that match the pattern.
        r   ©r:   r#   r$   r�   rø   rý   )rD   rè   rð   rý   s       r9   râ   zFileList.recursive_exclude´  s4   € ô "¤"§'¡'§,¡,¨s°D¸'Ó"BÓCˆØ×!Ñ! %§+¡+Ó.Ð.r;   c                óÂ   — t        |«      D ��cg c](  }t        j                  j                  |«      D ]  }|‘Œ Œ* }}}| j	                  |«       t        |«      S c c}}w )zInclude all files from 'dir/'.)r
   r‡   rÄ   Úfindallrû   rb   )rD   rè   Ú	match_dirÚitemr÷   s        r9   rÚ   zFileList.graft»  sh   € ô " #›Y÷
àÜ!×*Ñ*×2Ñ2°9Ó=ò
ð ò ð
Øð
ˆñ 
ð
 	�‰�EÔÜ�E‹{Ðùó
s   �-Ac                óŠ   — t        t        j                  j                  |d«      «      }| j	                  |j
                  «      S )zFilter out files from 'dir/'.r   r  )rD   rè   rý   s      r9   rÛ   zFileList.pruneÅ  s0   € ä!¤"§'¡'§,¡,¨s°DÓ"9Ó:ˆØ×!Ñ! %§+¡+Ó.Ð.r;   c                ó$  — | j                   €| j                  «        t        t        j                  j                  d|«      «      }| j                   D �cg c]  }|j                  |«      sŒ|‘Œ }}| j                  |«       t        |«      S c c}w )z“
        Include all files anywhere in the current directory that match the
        pattern. This is very inefficient on large file trees.
        r   )	Úallfilesr  r:   r#   r$   r�   rý   rû   rb   )rD   rð   rý   r¬   r÷   s        r9   rÝ   zFileList.global_includeÊ  sl   € ð
 �=‰=Ð Ø�L‰LŒNÜ!¤"§'¡'§,¡,¨t°WÓ"=Ó>ˆØ ŸM™MÖ<�q¨U¯[©[¸­^’Ð<ˆÐ<Ø�‰�EÔÜ�E‹{Ðùò =s   ÁBÁ+Bc                óŠ   — t        t        j                  j                  d|«      «      }| j	                  |j
                  «      S )zD
        Exclude all files anywhere that match the pattern.
        r   r  rþ   s      r9   rÞ   zFileList.global_excludeÖ  s2   € ô "¤"§'¡'§,¡,¨t°WÓ"=Ó>ˆØ×!Ñ! %§+¡+Ó.Ð.r;   c                ó–   — |j                  d«      }t        |«      }| j                  |«      r| j                  j	                  |«       y y )Nú)Úremovesuffixr   Ú
_safe_pathrõ   Úappend)rD   r  r$   s      r9   r  zFileList.appendÝ  s?   € Ø× Ñ  Ó&ˆÜ˜DÓ!ˆà�?‰?˜4Ô Ø�J‰J×Ñ˜dÕ#ð !r;   c                ób   — | j                   j                  t        | j                  |«      «       y r?   )rõ   rû   Úfilterr  )rD   Úpathss     r9   rû   zFileList.extendä  s   € Ø�
‰
×Ñœ& §¡°%Ó8Õ9r;   c                ó`   — t        t        | j                  | j                  «      «      | _        y)zÜ
        Replace self.files with only safe paths

        Because some owners of FileList manipulate the underlying
        ``files`` attribute directly, this method must be called to
        repair those paths.
        N)r²   r  r  rõ   rC   s    r9   Ú_repairzFileList._repairç  s   € ô œ& §¡°$·*±*Ó=Ó>ˆ�
r;   c                óì  — d}t        j                  |«      }|€t        j                  d|› d�«       yt        j                  |d«      }|€t        j                  ||d«       y	 d|v xs d|v }| j
                  r|ryt        j                  j                  |«      st        j                  j                  |«      ryy # t        $ r, t        j                  ||t        j                  «       «       Y y w xY w)	Nz!'%s' not %s encodable -- skippingr±   z$' in unexpected encoding -- skippingFr¥   r�   s	   .egg-infoT)Úunicode_utilsÚfilesys_decoder   rž   Ú
try_encoderÂ   r#   r$   r�   ÚUnicodeEncodeErrorÚsysÚgetfilesystemencoding)rD   r$   Úenc_warnÚu_pathÚ	utf8_pathÚis_egg_infos         r9   r  zFileList._safe_pathñ  sà   € Ø6ˆô ×-Ñ-¨dÓ3ˆØˆ>Ü�H‰H�q˜˜ÐBÐCÔDØô "×,Ñ,¨V°WÓ=ˆ	ØÐÜ�H‰H�X˜t WÔ-Øð
	Bà%¨Ð/ÒL°<À9Ð3LˆKØ×'Ò'©KØä�w‰w�~‰~˜fÔ%¬¯©¯©¸	Ô)BØð *Cøô "ò 	BÜ�H‰H�X˜t¤S×%>Ñ%>Ó%@ÖAð	Bús   Á%B> Á>>B> Â>2C3Ã2C3)NNF)rÂ   rb   ra   rÈ   rÇ   )rc   rd   re   rÔ   rñ   rø   rØ   rÙ   rá   râ   rÚ   rÛ   rÝ   rÞ   r  rû   r  r  Ú__classcell__)rÖ   s   @r9   r   r   D  sh   ø„ ð HMð7Ø@Dð7à	õ7óD=òLòò/ò
ò/òò/ò

ò/ó$ó:ò?öBr;   r   c                  ój   — e Zd ZdZdd„Zdd„Zdd„Zd„ Zdd„Zdd„Z	e
d„ «       Zdd	„Zdd
„Zd„ Zd„ Zy)rÁ   zMANIFEST.inc                óJ   — d| _         d| _        d| _        d| _        d| _        y )NTF)Úuse_defaultsrÛ   Úmanifest_onlyÚforce_manifestrÂ   rC   s    r9   ru   z!manifest_maker.initialize_options  s)   € Ø ˆÔØˆŒ
Ø!ˆÔØ"ˆÔØ#(ˆÕ r;   c                 ó   — y r?   rg   rC   s    r9   r”   zmanifest_maker.finalize_options  s   € Ør;   c                ó&  — t        | j                  ¬«      | _        t        j                  j                  | j                  «      s| j                  «        | j                  «        t        j                  j                  | j                  «      r| j                  «        | j                  «        | j                  «        | j                  «        | j                  j                  «        | j                  j                  «        | j                  «        y )N)rÂ   )r   rÂ   rÄ   r#   r$   r�   rÃ   Úwrite_manifestÚadd_defaultsÚtemplateÚread_templateÚadd_license_filesÚ_add_referenced_filesÚprune_file_listÚsortÚremove_duplicatesrC   s    r9   r¿   zmanifest_maker.run  s°   € Ü °T×5MÑ5MÔNˆŒÜ�w‰w�~‰~˜dŸm™mÔ,Ø×ÑÔ!Ø×ÑÔÜ�7‰7�>‰>˜$Ÿ-™-Ô(Ø×ÑÔ Ø×ÑÔ Ø×"Ñ"Ô$Ø×ÑÔØ�‰×ÑÔØ�‰×'Ñ'Ô)Ø×ÑÕr;   c                ól   — t        j                  |«      }|j                  t        j                  d«      S )Nú/)r  r  rY   r#   r%   )rD   r$   s     r9   Ú_manifest_normalizez"manifest_maker._manifest_normalize(  s'   € Ü×+Ñ+¨DÓ1ˆØ�|‰|œBŸF™F CÓ(Ð(r;   c                ó  — | j                   j                  «        | j                   j                  D �cg c]  }| j                  |«      ‘Œ }}d| j                  › d�}| j                  t        | j                  |f|«       yc c}w )zo
        Write the file list in 'self.filelist' to the manifest file
        named by 'self.manifest'.
        zwriting manifest file 'r±   N)rÄ   r  rõ   r4  rÃ   Úexecuterœ   )rD   r¬   rõ   r»   s       r9   r)  zmanifest_maker.write_manifest,  so   € ð
 	�‰×ÑÔð 7;·m±m×6IÑ6IÖJ°�×)Ñ)¨!Õ,ÐJˆÐJØ'¨¯© °aÐ8ˆØ�‰”Z $§-¡-°Ð!7¸Õ=ùò Ks   ³Bc                óT   — | j                  |«      st        j                  | |«       y y r?   )Ú_should_suppress_warningr   rž   )rD   r»   s     r9   rž   zmanifest_maker.warn8  s#   € Ø×,Ñ,¨SÔ1Ü�J‰J�t˜SÕ!ð 2r;   c                ó.   — t        j                  d| «      S )z;
        suppress missing-file warnings from sdist
        zstandard file .*not found)r&   rý   )r»   s    r9   r8  z'manifest_maker._should_suppress_warning<  s   € ô
 �x‰xÐ4°cÓ:Ð:r;   c                óv  — t        j                  | «       | j                  j                  | j                  «       | j                  j                  | j
                  «       t        t        «       «      }|r| j                  j                  |«       n9t        j                  j                  | j
                  «      r| j                  «        t        j                  j                  d«      r| j                  j                  d«       | j                  d«      }| j                  j                  |j                  «       y )Nzsetup.pyri   )r   r*  rÄ   r  r+  rÃ   r²   r   rû   r#   r$   r�   Úread_manifestÚget_finalized_commandrÚ   ri   )rD   ÚrcfilesÚei_cmds      r9   r*  zmanifest_maker.add_defaultsC  sÇ   € Ü×Ñ˜4Ô Ø�‰×Ñ˜TŸ]™]Ô+Ø�‰×Ñ˜TŸ]™]Ô+Ü”|“~Ó&ˆÙØ�M‰M× Ñ  Õ)Ü�W‰W�^‰^˜DŸM™MÔ*Ø×ÑÔ ä�7‰7�>‰>˜*Ô%ð �M‰M× Ñ  Ô,à×+Ñ+¨JÓ7ˆØ�‰×Ñ˜FŸO™OÕ,r;   c                ó¼   — | j                   j                  j                  xs g }|D ]  }t        j                  d|«       Œ | j
                  j                  |«       y )Nzadding license file '%s')rA   r   Úlicense_filesr   r§   rÄ   rû   )rD   r@  Úlfs      r9   r-  z manifest_maker.add_license_filesU  sN   € Ø×)Ñ)×2Ñ2×@Ñ@ÒFÀBˆØò 	5ˆBÜ�H‰HÐ/°Õ4ð	5à�‰×Ñ˜]Õ+r;   c                ó¢   — t        | j                  dg «      }|D ]  }t        j                  d|«       Œ | j                  j                  |«       y)zGAdd files referenced by the config (e.g. `file:` directive) to filelistÚ_referenced_filesz%adding file referenced by config '%s'N)ÚgetattrrA   r   ÚdebugrÄ   rû   )rD   Ú
referencedÚrfs      r9   r.  z$manifest_maker._add_referenced_files[  sI   € ä˜T×.Ñ.Ð0CÀRÓHˆ
àò 	CˆBÜ�I‰IÐ=¸rÕBð	Cà�‰×Ñ˜ZÕ(r;   c                óŠ   — t        |d«      r|j                  «       S t        j                  ddd¬«       |j	                  «       S )a0  
        The parent class implementation of this method
        (``sdist``) will try to include data files, which
        might cause recursion problems when
        ``include_package_data=True``.

        Therefore, avoid triggering any attempt of
        analyzing/building the manifest again.
        Úget_data_files_without_manifestz@`build_py` command does not inherit from setuptools' `build_py`.z±
            Custom 'build_py' does not implement 'get_data_files_without_manifest'.
            Please extend command classes from setuptools instead of distutils.
            z!https://peps.python.org/pep-0632/)Úsee_url)ÚhasattrrI  r   ÚemitÚget_data_files)rD   Úbuild_pys     r9   Ú_safe_data_fileszmanifest_maker._safe_data_filesc  sJ   € ô �8Ð>Ô?Ø×;Ñ;Ó=Ð=ä$×)Ñ)ØNðð 8õ	
ð ×&Ñ&Ó(Ð(r;   NrÇ   )rc   rd   re   r+  ru   r”   r¿   r4  r)  rž   Ústaticmethodr8  r*  r-  r.  rO  rg   r;   r9   rÁ   rÁ     sM   „ Ø€Hó)óóò)ó
>ó"ð ñ;ó ð;ó-ó$,ò)ó)r;   rÁ   c                ó¬   — dj                  |«      }|j                  d«      }t        | d«      5 }|j                  |«       ddd«       y# 1 sw Y   yxY w)z{Create a file with the specified name and write 'contents' (a
    sequence of strings without line terminators) to it.
    ú
r¥   r¦   N)r�   r¨   r©   rª   )r}   Úcontentsr¬   s      r9   rœ   rœ   |  sO   € ð �y‰y˜Ó"€Hð �‰˜wÓ'€Hä	ˆh˜Ó	ð  Ø	�‰�Ô÷÷ ñ ús   ¯A
Á
Ac                óÂ  — t        j                  d|«       | j                  j                  }| j                  |j
                  c|_        }| j                  |j                  c|_        }	  |j                  | j                  «       ||c|_        |_        t        | j                  dd «      }t        j                  | j                  |«       y # ||c|_        |_        w xY w)Nz
writing %sÚzip_safe)r   r§   rA   r   rs   rP   rr   rE   Úwrite_pkg_infori   rD  r   Úwrite_safety_flag)ÚcmdÚbasenamer}   r   ÚoldverÚoldnameÚsafes          r9   rV  rV  ‰  s·   € Ü‡H�Hˆ\˜8Ô$Ø×Ñ×(Ñ(€HØ"Ÿ™°×0@Ñ0@Ð€HÔ�fØ Ÿ\™\¨8¯=©=Ð€H„M�7ð:Øˆ×Ñ §¡Ô-à*1°6Ð'ˆŒ�xÔ'ä�3×#Ñ# Z°Ó6€Dä×Ñ §¡¨dÕ3øð	 +2°6Ð'ˆŒ�xÕ'ús   Á*C ÃCc                 ó   — y)aj  
    Unused: left to avoid errors when updating (from source) from <= 67.8.
    Old installations have a .dist-info directory with the entry-point
    ``depends.txt = setuptools.command.egg_info:warn_depends_obsolete``.
    This may trigger errors when running the first egg_info in build_meta.
    TODO: Remove this function in a version sufficiently > 68.
    Nrg   ©rX  rY  r}   s      r9   Úwarn_depends_obsoleter_  ™  s   � r;   c           	     ó  — t         j                  | j                  j                  «       D �cg c]  }|j	                  dd«      d   ‘Œ c}«      }| j                  d|dj                  t        |«      «      dz   «       y c c}w )Nr   r   r   ztop-level namesrR  )r|   ÚfromkeysrA   Úiter_distribution_namesr"   rœ   r�   Úsorted)rX  rY  r}   ÚkÚpkgss        r9   Úwrite_toplevel_namesrf  ¨  sk   € Ü�=‰=Ø$'×$4Ñ$4×$LÑ$LÓ$NöØ ˆ�‰��Q‹˜Óòó €Dð ‡N�NÐ$ h°·	±	¼&À»,Ó0GÈ$Ñ0NÕOùòs   ¬A>c                ó    — t        | ||d«       y )NT)Ú	write_argr^  s      r9   Úoverwrite_argri  ¯  s   € Üˆc�8˜X tÕ,r;   c                óÊ   — t         j                  j                  |«      d   }t        | j                  |d «      }|�dj                  |«      dz   }| j                  ||||«       y )Nr   rR  )r#   r$   ÚsplitextrD  rA   r�   r£   )rX  rY  r}   r¢   Úargnamerz   s         r9   rh  rh  ³  s\   € Ü�g‰g×Ñ˜xÓ(¨Ñ+€GÜ�C×$Ñ$ g¨tÓ4€EØÐØ—	‘	˜%Ó  4Ñ'ˆØ×Ñ˜W h°°uÕ=r;   c                ó¨   — t        j                  | j                  j                  «      }t        j                  |«      }| j                  d||d«       y )Nzentry pointsT)r   r¸   rA   r³   Úrenderr£   )rX  rY  r}   ÚepsÚdefns        r9   Úwrite_entriesrq  »  sB   € Ü
×
Ñ
˜S×-Ñ-×:Ñ:Ó
;€CÜ×Ñ Ó$€DØ×Ñ˜^¨X°t¸TÕBr;   c                ó’   — t        j                  | «      }t        j                  |«      }|› d|› d|xs t        › �}|r|d|› �z  }|S )r–   r€   z-py)r   rŽ   rÐ   )rr   rs   r˜   r™   rE   rP   Úeggs          r9   r—   r—   Á  sV   € ä×,Ñ,¨XÓ6€DÜ×/Ñ/°Ó<€GØˆF�!�G�9˜C 
Ò 6¬hÐ7Ð
8€CÙØ��8�*ˆ~ÑˆØ€Jr;   c                  ó   — e Zd ZdZy)ÚEggInfoDeprecationWarningz?Deprecated behavior warning for EggInfo, bypassing suppression.N)rc   rd   re   Ú__doc__rg   r;   r9   ru  ru  Ë  s   „ ÚIr;   ru  rÇ   rÉ   rÊ   )NN)>rv  Ú
__future__r   rß   r#   r&   r  r]   Úcollections.abcr   rW   Úpackaging.requirementsÚpackaging.versionÚsetuptools.unicode_utilsr  Ú
setuptoolsr   Úsetuptools.commandr   Úsetuptools.command.sdistr   r   Úsetuptools.command.setoptr	   Úsetuptools.globr
   r   r   r   Ú
_importlibr   Úwarningsr   r   Údistutils.errorsr‡   Údistutils.filelistr   r   r   Ú	_FileListÚdistutils.utilr   Úversion_infoÚmajorÚminorrÐ   r:   r=   ri   rÁ   rœ   rV  r_  Úwrite_requirementsÚwrite_setup_requirementsrf  ri  rh  rq  r—   ru  rg   r;   r9   ú<module>rŒ     s  ðñ<õ #ã Û 	Û 	Û 
Û Ý $ã Û Û å 0Ý Ý (ß 8Ý 1Ý  ç ,Ý !Ý 3Ý ã Û Ý Ý 3Ý 4Ý 'à×Ñ×$Ñ$Ð% Q s×'7Ñ'7×'=Ñ'=Ð&>Ð?€òP;÷f,ñ ,ô^W$ˆz˜7ô W$ôtFBˆyô FBôRl)�Uô l)ó^
ó4ó ð "×4Ñ4Ð Ø'×@Ñ@Ð óPó-ô>óCóôJÐ <õ Jr;   