§
    Á³gÀ  ã                   óÎ   — d 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m	Z	 ddl
mZ ddlmZ ddlmZ ddlmZ dd	lmZ  G d
„ de¦  «        Zdedefd„Zdedefd„Zd„ Zd„ ZdS )zD
Create a dist_info directory
As defined in the wheel specification
é    N)Úcontextmanager)Úcleandoc)ÚPath)ÚCommand)Úlog)Ú	packaging)ÚSetuptoolsDeprecationWarningc                   ó\   — e Zd ZdZg d¢ZddgZddiZd„ Zd„ Ze	de
d	efd
„¦   «         Zd„ ZdS )Ú	dist_infozcreate a .dist-info directory))z	egg-base=Úezjdirectory containing .egg-info directories (default: top of the source tree) DEPRECATED: use --output-dir.)zoutput-dir=ÚozYdirectory inside of which the .dist-info will becreated (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])úkeep-egg-infoNz,*TRANSITIONAL* will be removed in the futurer   r   r   c                 óh   — d | _         d | _        d | _        d | _        d | _        d | _        d| _        d S )NF)Úegg_baseÚ
output_dirÚnameÚdist_info_dirÚtag_dateÚ	tag_buildÚkeep_egg_info)Úselfs    úZ/var/www/html/mpstechhub/venv/lib/python3.11/site-packages/setuptools/command/dist_info.pyÚinitialize_optionszdist_info.initialize_options(   s;   € ØˆŒØˆŒØˆŒ	Ø!ˆÔØˆŒØˆŒØ"ˆÔÐÐó    c                 óî  — | j         r/d}t          j        |t          ¦  «         | j         p| j        | _        | j        }|j        pt          j        }t          | j        p|¦  «        | _        |  
                    d¦  «        }t          | j        ¦  «        |_         | j        r| j        |_        n|j        | _        | j        r| j        |_        n|j        | _        |                     ¦   «          || _        t!          |                     ¦   «         ¦  «        }t%          |                     ¦   «         ¦  «        }|› d|› �| _        t          j                             | j        | j        › d�¦  «        | _        d S )NzA--egg-base is deprecated for dist_info command. Use --output-dir.Úegg_infoú-z
.dist-info)r   ÚwarningsÚwarnr	   r   ÚdistributionÚsrc_rootÚosÚcurdirr   Úreinitialize_commandÚstrr   r   Úfinalize_optionsr!   Ú_safeÚget_nameÚ_versionÚget_versionr   ÚpathÚjoinr   )r   ÚmsgÚdistÚproject_dirr!   r   Úversions          r   r+   zdist_info.finalize_options1   sN  € ØŒ=ð 	?ØUˆCÝŒM˜#Õ;Ñ<Ô<Ð<Ø"œmÐ>¨t¬ˆDŒOàÔ ˆØ”mÐ0¥r¤yˆÝ˜tœÐ=°+Ñ>Ô>ˆŒà×,Ò,¨ZÑ8Ô8ˆÝ ¤Ñ0Ô0ˆÔàŒ=ð 	.Ø $¤ˆHÔÐà$Ô-ˆDŒMàŒ>ð 	0Ø!%¤ˆHÔÐà%Ô/ˆDŒNà×!Ò!Ñ#Ô#Ð#Ø ˆŒå�T—]’]‘_”_Ñ%Ô%ˆÝ˜4×+Ò+Ñ-Ô-Ñ.Ô.ˆØÐ'Ð'˜gÐ'Ð'ˆŒ	ÝœWŸ\š\¨$¬/¸d¼iÐ;SÐ;SÐ;SÑTÔTˆÔÐÐr   Údir_pathÚrequires_bkpc              #   ó  K  — |r�|› d�}t          |d¬¦  «         t          ||dd¬¦  «         	 d V — t          |d¬¦  «         t          j        ||¦  «         d S # t          |d¬¦  «         t          j        ||¦  «         w xY wd V — d S )Nz.__bkp__T)Úignore_errors)Údirs_exist_okÚsymlinks)Ú_rmÚ_copyÚshutilÚmove)r   r6   r7   Úbkp_names       r   Ú_maybe_bkp_dirzdist_info._maybe_bkp_dirP   sº   è è € àð 
	Ø"Ð,Ð,Ð,ˆHÝ�¨Ð-Ñ-Ô-Ð-Ý�(˜H°DÀ4ÐHÑHÔHÐHð0Ø���å�H¨DÐ1Ñ1Ô1Ð1Ý”˜H hÑ/Ô/Ð/Ð/Ð/øõ �H¨DÐ1Ñ1Ô1Ð1Ý”˜H hÑ/Ô/Ð/Ð/øøøàˆEˆEˆEˆEˆEs   ¯A Á(Bc                 ó4  — | j                              dd¬¦  «         | j                             ¦   «          | j        j        }t          j                             |¦  «        s
J d¦   «         ‚t          j        d 	                    t          j         
                    | j        ¦  «        ¦  «        ¦  «         |                      d¦  «        }|                      || j        ¦  «        5  |                     || j        ¦  «         d d d ¦  «         d S # 1 swxY w Y   d S )NT)ÚparentsÚexist_okz&.egg-info dir should have been createdzcreating '{}'Úbdist_wheel)r   Úmkdirr!   Úrunr'   r0   Úisdirr   ÚinfoÚformatÚabspathr   Úget_finalized_commandrA   r   Úegg2dist)r   Úegg_info_dirrE   s      r   rG   zdist_info.run^   sL  € ØŒ×Ò d°TÐÑ:Ô:Ð:ØŒ×ÒÑÔÐØ”}Ô-ˆÝŒw�}Š}˜\Ñ*Ô*ÐTÐTÐ,TÑTÔTÐTåŒ�×'Ò'­¬¯ª¸Ô8JÑ(KÔ(KÑLÔLÑMÔMÐMØ×0Ò0°Ñ?Ô?ˆð × Ò  ¨tÔ/AÑBÔBð 	Cð 	CØ× Ò  ¨tÔ/AÑBÔBÐBð	Cð 	Cð 	Cñ 	Cô 	Cð 	Cð 	Cð 	Cð 	Cð 	Cð 	Cð 	Cøøøð 	Cð 	Cð 	Cð 	Cð 	Cð 	Cs   Ã$DÄDÄDN)Ú__name__Ú
__module__Ú__qualname__ÚdescriptionÚuser_optionsÚboolean_optionsÚnegative_optr   r+   r   r*   ÚboolrA   rG   © r   r   r   r      s£   € € € € € à1€Kð
ð 
ð 
€Lð " ?Ð3€OØ˜zÐ*€Lð#ð #ð #ðUð Uð Uð> ð sð ¸$ð ð ð ñ „^ððCð Cð Cð Cð Cr   r   Ú	componentÚreturnc                 ó.   — t          j        dd| ¦  «        S )zAEscape a component used to form a wheel name according to PEP 491z	[^\w\d.]+Ú_)ÚreÚsub)rX   s    r   r,   r,   l   s   € åŒ6�,  YÑ/Ô/Ð/r   r5   c                 ó|  — |                       dd¦  «        }	 t          t          j                             |¦  «        ¦  «                              dd¦  «        S # t          j        j        $ rO d| ›d| ›d�}t          j        t          |¦  «        ¦  «         t          |¦  «         
                    d¦  «        cY S w xY w)z0Convert an arbitrary string to a version string.ú ú.r"   r[   zInvalid version: zk.
        !!


        ###################
        # Invalid version #
        ###################
        zõ is not valid according to PEP 440.

        Please make sure specify a valid version for your package.
        Also note that future releases of setuptools may halt the build process
        if an invalid version is given.
        

!!
        )Úreplacer*   r   r5   ÚVersionÚInvalidVersionr#   r$   r   r,   Ústrip)r5   Úvr2   s      r   r.   r.   q   sÇ   € à�Š˜˜SÑ!Ô!€Að#Ý•9Ô$×,Ò,¨QÑ/Ô/Ñ0Ô0×8Ò8¸¸cÑBÔBÐBøÝÔÔ+ð #ð #ð #ð
 Gð 
ð 
ð
 
ð
ð 
ð 
ˆõ 	Œ•h˜s‘m”mÑ$Ô$Ð$Ý�Q‰xŒx�~Š~˜cÑ"Ô"Ð"Ð"Ð"ð#øøøs   ˜?A ÁA B;Â:B;c                 ól   — t           j                             | ¦  «        rt          j        | fi |¤Ž d S d S )N)r'   r0   rH   r>   Úrmtree)Údir_nameÚoptss     r   r<   r<   †   s@   € Ý	„w‡}‚}�XÑÔð (ÝŒ�hÐ'Ð' $Ð'Ð'Ð'Ð'Ð'ð(ð (r   c                 óx   — t           j        dk     r|                     dd ¦  «         t          j        | |fi |¤Ž d S )N)é   é   r:   )ÚsysÚversion_infoÚpopr>   Úcopytree)ÚsrcÚdstri   s      r   r=   r=   ‹   sD   € Ý
Ô˜&Ò Ð Ø�Š� $Ñ'Ô'Ð'Ý
„O�C˜Ð%Ð% Ð%Ð%Ð%Ð%Ð%r   )Ú__doc__r'   r\   r>   rm   r#   Ú
contextlibr   Úinspectr   Úpathlibr   Údistutils.corer   Ú	distutilsr   Úsetuptools.externr   Úsetuptools._deprecation_warningr	   r   r*   r,   r.   r<   r=   rW   r   r   ú<module>r{      sc  ððð ð
 
€	€	€	Ø 	€	€	€	Ø €€€Ø 
€
€
€
Ø €€€Ø %Ð %Ð %Ð %Ð %Ð %Ø Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð à "Ð "Ð "Ð "Ð "Ð "Ø Ð Ð Ð Ð Ð Ø 'Ð 'Ð 'Ð 'Ð 'Ð 'Ø HÐ HÐ HÐ HÐ HÐ HðTCð TCð TCð TCð TC�ñ TCô TCð TCðn0�Sð 0˜Sð 0ð 0ð 0ð 0ð
#�cð #˜cð #ð #ð #ð #ð*(ð (ð (ð
&ð &ð &ð &ð &r   