+
    =iV                    p    ^ RI Ht ^ RIt^ RIHt ^RIHtHt ^ RIH	t	 ^ RI
Ht ^ RIHt  ! R R	]4      tR# )
    )annotationsN)ClassVar)Command_shutil)log)DistutilsOptionError)convert_pathc                  T    ] tR t^t$ RtRt. ROt. tR]R&   R t	R R lt
R R	 ltR
tR# )rotatezDelete older distributionsz2delete older distributions, keeping N newest fileszClassVar[list[str]]boolean_optionsc                	0    R V n         R V n        R V n        R # )N)matchdist_dirkeep)selfs   &|/Users/tonyclaw/.openclaw/workspace/scripts/youtube-playlists/venv/lib/python3.14/site-packages/setuptools/command/rotate.pyinitialize_optionsrotate.initialize_options   s    
	    c                   V ^8  d   QhRR/#    returnNone )formats   "r   __annotate__rotate.__annotate__   s     F F$ Fr   c                	   V P                   f   \        R4      hV P                  f   \        R4      h \        V P                  4      V n        \        T P                   \        4      '       dH   T P                   P                  R4       Uu. uF  p\        TP                  4       4      NK  	  upT n         T P                  RR4       R #   \         d   p\        R4      ThR p?ii ; iu upi )NzQMust specify one or more (comma-separated) match patterns (e.g. '.zip' or '.egg')z$Must specify number of files to keepz--keep must be an integer,bdist)r   r   )r   r   r   int
ValueError
isinstancestrsplitr	   stripset_undefined_options)r   eps   &  r   finalize_optionsrotate.finalize_options   s    ::&*  99&'MNN	KDIIDI djj#&&;?::;K;KC;PQ;Pa,qwwy1;PQDJ""7,DE	  	K&'BCJ	K Rs   C	 "C(	C%C  C%c                   V ^8  d   QhRR/# r   r   )r   s   "r   r   r   .   s     ! !T !r   c                	    V P                  R 4       ^ RIHp V P                   EFP  pV P                  P	                  4       R,           V,           pV! \
        P                  P                  V P                  V4      4      pV Uu. uF$  p\
        P                  P                  V4      V3NK&  	  ppVP                  4        VP                  4        \        P                  ! R\        V4      V4       W0P                  R pV Fo  w  rT\        P                  ! RV4       \
        P                  P!                  V4      '       d   \"        P$                  ! V4       KY  \
        P&                  ! V4       Kq  	  EKS  	  R# u upi )egg_info)glob*z%d file(s) matching %sNzDeleting %s)run_commandr0   r   distributionget_nameospathjoinr   getmtimesortreverser   infolenr   isdirr   rmtreeunlink)r   r0   patternfilesfts   &     r   run
rotate.run.   s   $zzG''002S87BGdmmW=>E7<=u!bgg&&q)1-uE=JJLMMOHH-s5z7C))+&E*77==##NN1%IIaL  " >s   *E;)r   r   r   N))zmatch=mzpatterns to match (required))z	dist-dir=dz%directory where the distributions are)zkeep=kz(number of matching distributions to keep)__name__
__module____qualname____firstlineno____doc__descriptionuser_optionsr   __annotations__r   r+   rD   __static_attributes__r   r   r   r   r      s3    $FKL ,.O(-
F ! !r   r   )
__future__r   r5   typingr    r   r   	distutilsr   distutils.errorsr   distutils.utilr	   r   r   r   r   <module>rX      s&    " 	    1 '3!W 3!r   