Ë
    nûàg/  ã            	       ó’   — d Z ddl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
mZ d„ Z G d	„ d
eeeeef   f   «      Z G d„ de«      Zy)zidistutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution).é    N)ÚClassVaré   )ÚCommand)ÚDistutilsOptionErrorÚDistutilsPlatformError)Úget_platformc                  óº   — ddl m}  t        j                  D �cg c]  }d|z   dt        j                  |   d   f‘Œ  }} | |«      }|j	                  d«       yc c}w )zAPrint list of available formats (arguments to "--format" option).r   )ÚFancyGetoptúformats=Né   z'List of available distribution formats:)Úfancy_getoptr
   ÚbdistÚformat_commandsÚ
print_help)r
   ÚformatÚformatsÚpretty_printers       úa/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist.pyÚshow_formatsr      sf   € å*ô ×+Ñ+öàð 
�fÑ	˜d¤E×$9Ñ$9¸&Ñ$AÀ!Ñ$DÒEð€Gð ñ ! Ó)€NØ×ÑÐGÕHùòs   ™#Ac                   ó   — e Zd Zd„ Zy)Ú
ListCompatc                 ó<   — t        j                  dt        d¬«       y )Nz4format_commands is now a dict. append is deprecated.r   )Ú
stacklevel)ÚwarningsÚwarnÚDeprecationWarning)ÚselfÚitems     r   ÚappendzListCompat.append   s   € Ü�‰ØFÜØö	
ó    N)Ú__name__Ú
__module__Ú__qualname__r   © r    r   r   r      s   „ ó
r    r   c            
       ó®   — e Zd ZU dZdddd e«       › d�fddd	d
dgZdgZdddefgZdZ	e
eedf      ed<   dddœZ eddddddddœ«      ZeZd„ Zd„ Zd „ Zy)!r   z$create a built (binary) distribution)zbdist-base=Úbz4temporary directory for creating built distributionsz
plat-name=Úpz8platform name to embed in generated filenames [default: ú])r   Nz/formats for distribution (comma-separated list))z	dist-dir=Údz=directory to put final built distributions in [default: dist])ú
skip-buildNz2skip rebuilding everything (for testing/debugging))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*   zhelp-formatsNz$lists available distribution formats)Ú	bdist_rpm.Úno_format_optionÚgztarÚzip)ÚposixÚnt)r-   zRPM distribution)Ú
bdist_dumbzgzip'ed tar file)r3   zbzip2'ed tar file)r3   zxz'ed tar file)r3   zcompressed tar file)r3   ztar file)r3   zZIP file)Úrpmr/   ÚbztarÚxztarÚztarÚtarr0   c                 óf   — d | _         d | _        d | _        d | _        d| _        d | _        d | _        y )NF)Ú
bdist_baseÚ	plat_namer   Údist_dirÚ
skip_buildÚgroupÚowner)r   s    r   Úinitialize_optionszbdist.initialize_options^   s3   € ØˆŒØˆŒØˆŒØˆŒØˆŒØˆŒ
Øˆ�
r    c                 óB  — | j                   €<| j                  rt        «       | _         n | j                  d«      j                   | _         | j                  €M| j                  d«      j
                  }t        j                  j                  |d| j                   z   «      | _        | j                  d«       | j                  €$	 | j                  t        j                     g| _
        | j                  €d| _        y y # t        $ r t        dt        j                  › �«      ‚w xY w)NÚbuildzbdist.r   z9don't know how to create built distributions on platform Údist)r;   r=   r   Úget_finalized_commandr:   Ú
build_baseÚosÚpathÚjoinÚensure_string_listr   Údefault_formatÚnameÚKeyErrorr   r<   )r   rE   s     r   Úfinalize_optionszbdist.finalize_optionsg   sô   € à�>‰>Ð!Ø�ŠÜ!-£�•à!%×!;Ñ!;¸GÓ!D×!NÑ!N�”ð
 �?‰?Ð"Ø×3Ñ3°GÓ<×GÑGˆJÜ Ÿg™gŸl™l¨:°xÀ$Ç.Á.Ñ7PÓQˆDŒOà×Ñ 	Ô*Ø�<‰<ÐðØ $× 3Ñ 3´B·G±GÑ <Ð=�”ð �=‰=Ð Ø"ˆD�Mð !øô ò Ü,ð#Ü#%§7¡7 )ð-óð ðús   Ã #C8 Ã8&Dc                 óî  — g }| j                   D ]$  }	 |j                  | j                  |   d   «       Œ& t        t        | j                   «      «      D ]ƒ  }||   }| j                  |«      }|| j                  vr| j                   |   |_	        |dk(  r"| j                  |_
        | j                  |_        |||dz   d  v rd|_        | j                  |«       Œ… y # t        $ r t	        d|› d�«      ‚w xY w)Nr   zinvalid format 'ú'r3   r   T)r   r   r   rL   r   ÚrangeÚlenÚreinitialize_commandr.   r   r?   r>   Ú	keep_tempÚrun_command)r   Úcommandsr   ÚiÚcmd_nameÚsub_cmds         r   Úrunz	bdist.runƒ   s  € àˆØ—l‘lò 	IˆFðIØ—‘ × 4Ñ 4°VÑ <¸QÑ ?Õ@ð	Iô ”s˜4Ÿ<™<Ó(Ó)ò 	'ˆAØ ‘{ˆHØ×/Ñ/°Ó9ˆGØ˜t×4Ñ4Ñ4Ø!%§¡¨a¡�”ð ˜<Ò'Ø $§
¡
�”Ø $§
¡
�”ð ˜8 A¨¡E GÐ,Ñ,Ø$(�Ô!Ø×Ñ˜XÕ&ñ	'øô	 ò IÜ*Ð-=¸f¸XÀQÐ+GÓHÐHðIús   “!CÃC4)r!   r"   r#   Údescriptionr   Úuser_optionsÚboolean_optionsr   Úhelp_optionsr.   r   ÚtupleÚstrÚ__annotations__rJ   r   r   Úformat_commandr@   rM   rY   r$   r    r   r   r   %   sÐ   … Ø8€Kð 	UàØðÙ%›Ð(¨ð+ð	
ð 	Nð	
ð
 	Sð	
ð
	
ð)€Lð6 $�n€Oð 
˜ÐEÀ|ÐTð€Lð
 3AÐ�h˜u S¨# X™Ñ/Ó@ð  '¨eÑ4€Nñ !Ø0Ø3Ø4Ø1Ø5Ø)Ø)ñ"ó €Oð %€Nòò#ó8'r    r   )Ú__doc__rF   r   Útypingr   Úcorer   Úerrorsr   r   Úutilr   r   Údictr_   r^   r   r   r$   r    r   ú<module>rh      sP   ðñó
 
Û Ý å ß AÝ ò	Iô
��c˜5  c ™?Ð*Ñ+ô 
ôw'ˆGõ w'r    