§ w<ˆjVãóv—ddlmZddlZddlmZddlmZmZddlm Z ddl m Z ddl m Z Gd „d e¦«ZdS) é)Ú annotationsN)ÚClassVaré)ÚCommandÚ_shutil)Úlog)ÚDistutilsOptionError)Ú convert_pathcóD—eZdZUdZdZgd¢ZgZded<d„Zd d „Z d d „Z d S) ÚrotatezDelete older distributionsz2delete older distributions, keeping N newest files))zmatch=Úmzpatterns to match (required))z dist-dir=Údz%directory where the distributions are)zkeep=Úkz(number of matching distributions to keepzClassVar[list[str]]Úboolean_optionscó0—d|_d|_d|_dS)N)ÚmatchÚdist_dirÚkeep)Úselfs úk/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/setuptools/command/rotate.pyÚinitialize_optionszrotate.initialize_optionss€ØˆŒ ؈Œ ؈Œ ˆ ˆ óÚreturnÚNonecóŠ—|j€td¦«‚|j€td¦«‚ t|j¦«|_n"#t$r}td¦«|‚d}~wwxYwt |jt ¦«r)d„|j d¦«D¦«|_| dd¦«dS)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 integercóP—g|]#}t| ¦«¦«‘Œ$S©)r Ústrip)Ú.0Úps rú z+rotate.finalize_options..+s(€ÐQÐQÐQ°a�, q§w¢w¡y¤yÑ1Ô1ÐQÐQÐQrú,Úbdist)rr) rr rÚintÚ ValueErrorÚ isinstanceÚstrÚsplitÚset_undefined_options)rÚes rÚfinalize_optionszrotate.finalize_optionssÜ€Ø Œ:Ð Ý&ð*ñôð ð Œ9Ð Ý&Ð'MÑNÔNÐ Nð KݘDœI™œˆDŒIˆIøÝð Kð Kð KÝ&Ð'BÑCÔCÈÐ Jøøøøð Køøøå �d”j¥#Ñ &Ô &ð RØQÐQ¸4¼:×;KÒ;KÈCÑ;PÔ;PÐQÑQÔQˆDŒJØ ×"Ò" 7Ð,DÑEÔEÐEÐEÐEs®AÁ A'ÁA"Á"A'có„—| d¦«ddlm}|jD�]}|j ¦«dz|z}|t j |j|¦«¦«}d„|D¦«}|  ¦«|  ¦«tj dt|¦«|¦«||jd…}|D]b\}}tj d|¦«t j |¦«rt!j|¦«ŒNt j|¦«Œc�ŒdS)NÚegg_infor)ÚglobÚ*cóP—g|]#}tj |¦«|f‘Œ$Sr)ÚosÚpathÚgetmtime)rÚfs rr!zrotate.run..5s-€Ð=Ð=Ð=°!•b”g×&Ò& qÑ)Ô)¨1Ð-Ð=Ð=Ð=rz%d file(s) matching %sz Deleting %s)Ú run_commandr.rÚ distributionÚget_namer1r2ÚjoinrÚsortÚreverserÚinfoÚlenrÚisdirrÚrmtreeÚunlink)rr.ÚpatternÚfilesÚtr4s rÚrunz rotate.run.s<€Ø ×Ò˜Ñ$Ô$Ð$ØÐÐÐÐÐà”zð !ñ !ˆGØÔ'×0Ò0Ñ2Ô2°SÑ8¸7ÑBˆGØ�D�œŸš d¤m°WÑ=Ô=Ñ>Ô>ˆEØ=Ð=°uÐ=Ñ=Ô=ˆEØ �JŠJ‰LŒLˆLØ �MŠM‰OŒOˆOå ŒHÐ-­s°5©z¬z¸7Ñ CÔ CÐ Cؘ$œ)˜+˜+Ô&ˆEØð !ð !‘��1Ý”˜¨Ñ*Ô*Ð*Ý”7—=’= Ñ#Ô#ð!Ý”N 1Ñ%Ô%Ð%Ð%å”I˜a‘L”L�L�Lñ  !ð !ð !rN)rr) Ú__name__Ú __module__Ú __qualname__Ú__doc__Ú descriptionÚ user_optionsrÚ__annotations__rr+rCrrrr r s€€€€€€€Ø$Ð$àF€Kððð€Lð ,.€OÐ-Ð-Ð-Ñ-ðððð FðFðFðFð !ð!ð!ð!ð!ð!rr )Ú __future__rr1ÚtypingrÚrrÚ distutilsrÚdistutils.errorsr Údistutils.utilr r rrrúrQs´ðØ"Ð"Ð"Ð"Ð"Ð"à € € € ØÐÐÐÐÐàÐÐÐÐÐÐÐàÐÐÐÐÐØ1Ð1Ð1Ð1Ð1Ð1Ø'Ð'Ð'Ð'Ð'Ð'ð3!ð3!ð3!ð3!ð3!ˆWñ3!ô3!ð3!ð3!ð3!r