§
    ZQd1  ã                   óv   — d Z ddlZddlmZ ddlmZ ddlmZmZ ddl	T ddl
mZ ddlmZ  G d	„ d
e¦  «        ZdS )z·distutils.command.bdist_dumb

Implements the Distutils 'bdist_dumb' command (create a "dumb" built
distribution -- i.e., just an archive to be unpacked under $prefix or
$exec_prefix).é    N)ÚCommand)Úget_platform)Úremove_treeÚensure_relative)Ú*)Úget_python_version)Úlogc            	       óh   — e Zd ZdZdddd e¦   «         z  fdddd	d
ddg	Zg d¢ZdddœZd„ Zd„ Z	d„ Z
dS )Ú
bdist_dumbz"create a "dumb" built distribution)z
bdist-dir=Údz1temporary directory for creating the distributionz
plat-name=Úpz;platform name to embed in generated filenames (default: %s))zformat=Úfz>archive format to create (tar, gztar, bztar, xztar, ztar, zip))ú	keep-tempÚkzPkeep the pseudo-installation tree around after creating the distribution archive)z	dist-dir=r   z-directory to put final built distributions in)ú
skip-buildNz2skip rebuilding everything (for testing/debugging))ÚrelativeNz7build the archive using relative paths (default: false))zowner=Úuz@Owner name used when creating a tar file [default: current user])zgroup=ÚgzAGroup name used when creating a tar file [default: current group])r   r   r   ÚgztarÚzip)ÚposixÚntc                 ó„   — d | _         d | _        d | _        d| _        d | _        d | _        d| _        d | _        d | _        d S )Nr   )	Ú	bdist_dirÚ	plat_nameÚformatÚ	keep_tempÚdist_dirÚ
skip_buildr   ÚownerÚgroup)Úselfs    ú3/usr/lib/python3.11/distutils/command/bdist_dumb.pyÚinitialize_optionszbdist_dumb.initialize_options2   sE   € ØˆŒØˆŒØˆŒØˆŒØˆŒØˆŒØˆŒØˆŒ
ØˆŒ
ˆ
ˆ
ó    c                 ó`  — | j         €?|                      d¦  «        j        }t          j                             |d¦  «        | _         | j        €H	 | j        t          j                 | _        n*# t          $ r t          dt          j        z  ¦  «        ‚w xY w|                      dddd¦  «         d S )NÚbdistÚdumbz@don't know how to create dumb built distributions on platform %s)r   r   )r   r   )r   r   )r   Úget_finalized_commandÚ
bdist_baseÚosÚpathÚjoinr   Údefault_formatÚnameÚKeyErrorÚDistutilsPlatformErrorÚset_undefined_options)r"   r*   s     r#   Úfinalize_optionszbdist_dumb.finalize_options=   sÇ   € ØŒ>Ð!Ø×3Ò3°GÑ<Ô<ÔGˆJÝœWŸ\š\¨*°fÑ=Ô=ˆDŒNàŒ;Ðð3Ø"Ô1µ"´'Ô:�”�øÝð 3ð 3ð 3Ý,ð(Ý*,¬'ñ2ñ3ô 3ð 3ð3øøøð
 	×"Ò" 7Ø#;Ø#=Ø#?ñ	Aô 	Að 	Að 	Að 	As   ÁA, Á,'Bc                 ó  — | j         s|                      d¦  «         |                      dd¬¦  «        }| j        |_        | j         |_         d|_        t          j        d| j        ¦  «         |                      d¦  «         | j         	                    ¦   «         ›d| j
        ›�}t          j                             | j        |¦  «        }| j        s| j        }nš| j                             ¦   «         rJ|j        |j        k    r:t'          dt)          |j        ¦  «        ›d	t)          |j        ¦  «        ›d
�¦  «        ‚t          j                             | j        t+          |j        ¦  «        ¦  «        }|                      || j        || j        | j        ¬¦  «        }| j                             ¦   «         rt5          ¦   «         }nd}| j        j                             d||f¦  «         | j        st=          | j        | j        ¬¦  «         d S d S )NÚbuildÚinstallé   )Úreinit_subcommandsr   zinstalling to %sú.zLcan't make a dumb built distribution where base and platbase are different (z, ú))Úroot_dirr    r!   Úanyr   )Údry_run) r   Úrun_commandÚreinitialize_commandr   ÚrootÚwarn_dirr	   ÚinfoÚdistributionÚget_fullnamer   r+   r,   r-   r   r   Úhas_ext_modulesÚinstall_baseÚinstall_platbaser1   Úreprr   Úmake_archiver   r    r!   r   Ú
dist_filesÚappendr   r   r=   )r"   r6   Úarchive_basenameÚpseudoinstall_rootÚarchive_rootÚfilenameÚ	pyversions          r#   Úrunzbdist_dumb.runO   s%  € ØŒð 	&Ø×Ò˜WÑ%Ô%Ð%à×+Ò+¨IÈ!Ð+ÑLÔLˆØ”~ˆŒØ!œ_ˆÔØˆÔåŒÐ# T¤^Ñ4Ô4Ð4Ø×Ò˜Ñ#Ô#Ð#ð '+Ô&7×&DÒ&DÑ&FÔ&FÐ&FÐ&FØ&*¤n nð6Ðõ  œWŸ\š\¨$¬-Ð9IÑJÔJÐØŒ}ð 	JØœ>ˆLˆLàÔ!×1Ò1Ñ3Ô3ð 	JØÔ%¨Ô)AÒAÐAÝ,Ð,õ ˜wÔ3Ñ4Ô4Ð4Ð4Ý˜wÔ7Ñ8Ô8Ð8Ð8ð:ñ;ô ;ð ;õ  "œwŸ|š|¨D¬NÝ#2°7Ô3GÑ#HÔ#Hñ Jô  J�ð ×$Ò$Ð%7Ø%)¤[¸<Ø+/¬:¸T¼Zð %ñ Iô Iˆð Ô×,Ò,Ñ.Ô.ð 	Ý*Ñ,Ô,ˆIˆIàˆIØÔÔ$×+Ò+¨\¸9Ø-5ð-7ñ 	8ô 	8ð 	8ð Œ~ð 	>Ý˜œ°´Ð=Ñ=Ô=Ð=Ð=Ð=ð	>ð 	>r%   N)Ú__name__Ú
__module__Ú__qualname__Údescriptionr   Úuser_optionsÚboolean_optionsr.   r$   r3   rQ   © r%   r#   r   r      s·   € € € € € à8€KðJà! 3ð%Ø'3 |¡~¤~ñ6ð7ð#ð:ðFðKð)ð1ð2ð+€Lð4 >Ð=Ð=€Oà 'Ø"ð%ð %€Nð	ð 	ð 	ðAð Að Að$,>ð ,>ð ,>ð ,>ð ,>r%   r   )Ú__doc__r+   Údistutils.corer   Údistutils.utilr   Údistutils.dir_utilr   r   Údistutils.errorsÚdistutils.sysconfigr   Ú	distutilsr	   r   rX   r%   r#   ú<module>r`      sÄ   ððð ð 
€	€	€	Ø "Ð "Ð "Ð "Ð "Ð "Ø 'Ð 'Ð 'Ð 'Ð 'Ð 'Ø ;Ð ;Ð ;Ð ;Ð ;Ð ;Ð ;Ð ;Ø Ð Ð Ð Ø 2Ð 2Ð 2Ð 2Ð 2Ð 2Ø Ð Ð Ð Ð Ð ðl>ð l>ð l>ð l>ð l>�ñ l>ô l>ð l>ð l>ð l>r%   