+
     h  c            	      s    R t ^ RIHt ^ RIt^ RIt^ RIHt ^ RIHtH	t	 ^RI
Ht ^RIHtHt ^RIHt ]'       d   ^ RIHt MR	 tR
 t ! R R]]]]]3,          3,          4      t ! R R]4      tR# )zidistutils.command.bdist

Implements the Distutils 'bdist' command (create a built [binary]
distribution).)annotationsN)Callable)TYPE_CHECKINGClassVar)Command)DistutilsOptionErrorDistutilsPlatformError)get_platform)
deprecatedc                s    R  # )c                s    V # )N )Zfn   &H/usr/lib/python3.14/site-packages/setuptools/_distutils/command/bdist.pyZ<lambda>Zdeprecated.<locals>.<lambda>   s    "    r	   )Zmessager
   r   r   r      s    r   c                 s    ^RI Hp  \        P                   Uu. uF+  pRV,           R\        P                  V,          ^,          3NK-  	  ppV ! V4      pVP	                  R4       R# u upi )zAPrint list of available formats (arguments to "--format" option).)FancyGetoptformats=Nz'List of available distribution formats:)Zfancy_getoptr   bdistformat_commandsZ
print_help)r   formatformatsZpretty_printers       r   show_formatsr      si    * +++F 
f	dE$9$9&$A!$DE+   !)NGHs   1A'c                  s8    ] tR t^%t]! R4      R R l4       tRtR# )
ListCompat4format_commands is now a dict. append is deprecated.c               s     V ^8  d   QhRRRR/# )   itemZobjectreturnNoner	   r      "r   __annotate__ZListCompat.__annotate__(   s     
 
6 
d 
r   c                	s@    \         P                  ! R \        ^R7       R# )r   )Z
stacklevelN)warningsZwarnZDeprecationWarning)selfr   s   &&r   appendZListCompat.append'   s    B	
r   r	   N)__name__
__module____qualname____firstlineno__r   r   __static_attributes__r	   r   r   r   r   %   s    FG
 H
r   r   c                  s    ] tR t^0t$ RtR!RRR]! 4        R23R"R#R$R%R&.tR.tR]R	&   R
RR]	3.t
R]R&   R'tR]R&   RRRR/tR]R&   ]! RR(RR)RR*RR+RR,RR-RR./4      t]tR tR R ltR R ltR tR# )/r   z$create a built (binary) distributionz
plat-name=Zpz8platform name to embed in generated filenames [default: Z]N
skip-buildzClassVar[list[str]]boolean_optionszhelp-formatsz$lists available distribution formatszAClassVar[list[tuple[str, str | None, str, Callable[[], object]]]]help_optionszClassVar[tuple[str, ...]]no_format_optionZposixZgztarZntZzipzClassVar[dict[str, str]]default_formatZrpmZbztarZxztarZztarZtarc                	sh    R V n         R V n        R V n        R V n        RV n        R V n        R V n        R # )NF)
bdist_base	plat_namer   dist_dir
skip_buildgroupowner)r   r
   r   initialize_optionsZbdist.initialize_optionsi   s3    

r   c                   V ^8  d   QhRR/# r   r   r   r	   r   r   r   r   bdist.__annotate__r   s     # #$ #r   c                	sv   V P                   fC   V P                  '       d   \        4       V n         M V P                  R4      P                   V n         V P                  fR   V P                  R4      P
                  p\        P                  P                  VRV P                   ,           4      V n        V P                  R4       V P                  f)    V P                  \        P                  ,          .V n
        V P                  f
   RV n        R # R #   \         d    \        R\        P                   24      hi ; i)NZbuildzbdist.r   z9don't know how to create built distributions on platform Zdist)r+   r-   r   Zget_finalized_commandr*   
build_baseosZpathZjoinZensure_string_listr   r)   ZnameKeyErrorr   r,   )r   r4   s   & r   finalize_optionsZbdist.finalize_optionsr   s    >>!!-!%!;!;G!D!N!N
 ??"33G<GGJ ggll:x$..7PQDO	*<< $ 3 3BGG <= == "DM !  ,##%77)- s   'D (D8c               r1   r2   r	   r   r   r   r   r3      s     ' 'T 'r   c                	s.   . pV P                    F-  p VP                  V P                  V,          ^ ,          4       K/  	  \        \        V P                   4      4       F  pW,          pV P                  V4      pW@P                  9  d   V P                   V,          Vn	        VR8X  d#   V P                  Vn
        V P                  Vn        WAV^,           R 9   d   RVn        V P                  V4       K  	  R#   \         d    \	        RT R24      hi ; i)i    zinvalid format 'Z'
bdist_dumbNT)r   r   r   r6   r   ZrangeZlenZreinitialize_commandr(   r   r/   r.   Z	keep_tempZrun_command)r   Zcommandsr   ZiZcmd_nameZsub_cmds   &     r   runZ	bdist.run   s    llFI 4 4V <Q ?@ # s4<<()A{H//9G444!%a <' $

 $

 AEG,,$(!X& *	  I*-=fXQ+GHHIs   )C99D)r*   r,   r   r.   r/   r+   r-   )zbdist-base=Zbz4temporary directory for creating built distributions)r   Nz/formats for distribution (comma-separated list))z	dist-dir=Zdz=directory to put final built distributions in [default: dist])r%   Nz2skip rebuilding everything (for testing/debugging))zowner=Zuz@Owner name used when creating a tar file [default: current user])zgroup=ZgzAGroup name used when creating a tar file [default: current group])	bdist_rpm)r:   zRPM distribution)r8   zgzip'ed tar file)r8   zbzip2'ed tar file)r8   zxz'ed tar file)r8   zcompressed tar file)r8   ztar file)r8   zZIP file)r    r!   r"   r#   Zdescriptionr   Zuser_optionsr&   Z__annotations__r   r'   r(   r)   r   r   Zformat_commandr0   r7   r9   r$   r	   r   r   r   r   0   s    8K 	U%(+	
 	N	

 	S	

	
)L6 -9>O(9 
E|TWLS 
 3A/@ 18$/NN,N !03415))" O %N#8' 'r   r   )Z__doc__Z
__future__r    r5   r   Zcollections.abcr   Ztypingr   r   Zcorer   Zerrorsr   r   Zutilr   Ztyping_extensionsr   r   ZdictZstrZtupler   r   r	   r   r   <module>r;      sa   
 # 	  $ *  A ,	I
c5c?*+ 
w'G w'r   