+
     h  c                   s    ^ RI t ^ RIt^ RIt^ RIHt ^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHtHt ^ RIHt ^ RIHt ^ R	IHt ^ R
IHtHt ^ RIHtHt ^ RIHt ^ RIHt ] P<                  ! ]4      t  ! R R]4      t!R# )i    N)Values)List)
WheelCache)
cmdoptions)RequirementCommandwith_cleanup)SUCCESS)CommandError)get_build_tracker)InstallRequirementcheck_legacy_setup_py_options)
ensure_dirnormalize_path)TempDirectory)buildc                   sV   a  ] tR t^t o RtRtV 3R lR lt]V 3R lR l4       tRt	V t
R# )	WheelCommandau  
Build Wheel archives for your requirements and dependencies.

Wheel is a built-package format, and offers the advantage of not
recompiling your software during every install. For more details, see the
wheel docs: https://wheel.readthedocs.io/en/latest/

'pip wheel' uses the build system interface as described here:
https://pip.pypa.io/en/stable/reference/build-system/

z
      %prog [options] <requirement specifier> ...
      %prog [options] -r <requirements file> ...
      %prog [options] [-e] <vcs project url> ...
      %prog [options] [-e] <local project path> ...
      %prog [options] <archive url/path> ...c                s   < V ^8  d   QhRR/# )   returnN Zformat__classdict__   "A/usr/lib/python3.14/site-packages/pip/_internal/commands/wheel.py__annotate__WheelCommand.__annotate__,   s     9: 9:T 9:    c           	     s<   V P                   P                  R RRR\        P                  RR7       V P                   P                  \        P
                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                  ! 4       4       V P                   P                  \        P                   ! 4       4       V P                   P                  \        P"                  ! 4       4       V P                   P                  \        P$                  ! 4       4       V P                   P                  RRRR	R
R7       V P                   P                  \        P&                  ! 4       4       V P                   P                  \        P(                  ! 4       4       V P                   P                  \        P*                  ! 4       4       V P                   P                  RRR	RR7       V P                   P                  \        P,                  ! 4       4       \        P.                  ! \        P0                  V P2                  4      pV P2                  P5                  ^ V4       V P2                  P5                  ^ V P                   4       R# )z-wz--wheel-dir	wheel_dirZdirzLBuild wheels into <dir>, where the default is the current working directory.)destZmetavardefaulthelpz--no-verify	no_verifyZ
store_trueFz%Don't verify if built wheel is valid.)r   actionr   r   z--prezYInclude pre-release and development versions. By default, pip only finds stable versions.)r   r   r   N)Zcmd_optsZ
add_optionosZcurdirr   Z	no_binaryZonly_binaryZprefer_binaryZno_build_isolation
use_pep517Zno_use_pep517Zcheck_build_depsZconstraintsZeditablerequirementsZsrcignore_requires_pythonZno_depsZprogress_barZconfig_settingsbuild_optionsglobal_optionsZrequire_hashesZmake_option_groupZindex_groupZparserZinsert_option_group)selfZ
index_optss   & r   add_optionsZWheelCommand.add_options,   s     II- 	! 
	
 	  !5!5!78  !7!7!9:  !9!9!;<  !>!>!@A  !6!6!89  !9!9!;<  !<!<!>?  !7!7!9:  !4!4!67  !8!8!:;  !12  !B!B!DE  !3!3!56  !8!8!:;  8 	! 	
 	  !;!;!=>  !9!9!;<  !:!:!<=  2 	! 	
 	  !:!:!<=11""KK


 	'':6''4==9r   c                s<   < V ^8  d   QhRS[ RS[S[,          RS[/# )r   optionsargsr   )r    r   ZstrZintr   r   r   r   r   h   s+     N N6 Nc Ns Nr   c                s   V P                  V4      pV P                  W4      p\        VP                  4      Vn        \	        VP                  4       V P                  \        4       4      p\        VP                  '       * R RR7      pV P                  W!WC4      p\        W4       \        VP                  4      pV P                  VVVVVVP                  RV P                  R7      p	V P                  V	VVVVP                   VP"                  R7      p
V P%                  V4       V
P'                  VRR7      p. pVP(                  P+                  4        F9  pVP,                  '       d   V	P/                  V4       K(  VP1                  V4       K;  	  V	P3                  VP(                  P+                  4       4       \5        TTVP6                  '       * VP8                  ;'       g    . VP:                  ;'       g    . R7      w  rV Fs  pVP<                  '       d   VP<                  P,                  '       g   Q hVP>                  '       g   Q h \@        PB                  ! VP>                  VP                  4       Ku  	  \M        V4      ^ 8w  d   \O        R
4      h\P        #   \D         d>   p\F        PI                  RTPJ                  T4       TP1                  T4        R	p?K  R	p?ii ; i)ZwheelT)ZdeleteZkindZglobally_managedF)Ztemp_build_dirr(   build_trackersessionfinderZdownload_dirZuse_user_site	verbosity)preparerr,   r(   wheel_cacher#   r!   )Zcheck_supported_wheels)r/   Zverifyr$   r%   z Building wheel for %s failed: %sNz"Failed to build one or more wheels))Zget_default_sessionZ_build_package_finderr   r   r   Zenter_contextr   r   Zno_cleanZget_requirementsr
   r   Z	cache_dirZmake_requirement_preparerr-   Zmake_resolverr#   r!   Ztrace_basic_infoZresolver"   ZvaluesZis_wheelZsave_linked_requirementZappendZ prepare_linked_requirements_morer   r   r$   r%   ZlinkZlocal_file_pathshutilZcopyZOSErrorloggerZwarningZnameZlenr   r   )r&   r(   r)   r+   r,   r*   Z	directoryZreqsr/   r.   ZresolverZrequirement_setZreqs_to_buildZreqZbuild_successesZbuild_failuresZes   &&&              r   runZWheelCommand.rung   s   **73++G=*7+<+<=7$$%**+<+>?!'''!
	 $$TFD%g4 !2!2311$' **nn 2 	
 %%##*#A#A)) & 
 	f%"**4*M24"//668C|||005$$S)	 9 	11/2N2N2U2U2WX +0#)))!//552"1177R+
' #C888 1 1 111&&&&&+C//1B1BC # ~!#CDD  +6HH
 %%c**+s   +JK#&2KK#r   N)__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Zusager'   r   r2   Z__static_attributes__Z__classdictcell__)r   s   @r   r   r      s2     
0E9: 9:v N Nr   r   )"Zloggingr    r0   Zoptparser    Ztypingr   Zpip._internal.cacher   Zpip._internal.clir   Zpip._internal.cli.req_commandr   r   Zpip._internal.cli.status_codesr   Zpip._internal.exceptionsr   Z,pip._internal.operations.build.build_trackerr   Zpip._internal.req.req_installr	   r
   Zpip._internal.utils.miscr   r   Zpip._internal.utils.temp_dirr   Zpip._internal.wheel_builderr   Z	getLoggerr3   r1   r   r   r   r   <module>r4      sV     	    * ( J 2 1 J @ 6 -			8	$^% ^r   