/opt/cloudlinux/venv/lib/python3.11/site-packages/distlib/__pycache__
NameSizeModeActions
compat.cpython-311.pyc524130644editdlrm
database.cpython-311.pyc721940644editdlrm
index.cpython-311.pyc266750644editdlrm
locators.cpython-311.pyc658000644editdlrm
manifest.cpython-311.pyc170250644editdlrm
markers.cpython-311.pyc85590644editdlrm
metadata.cpython-311.pyc474400644editdlrm
resources.cpython-311.pyc190010644editdlrm
scripts.cpython-311.pyc212530644editdlrm
util.cpython-311.pyc982040644editdlrm
version.cpython-311.pyc348230644editdlrm
wheel.cpython-311.pyc594860644editdlrm
__init__.cpython-311.pyc14760644editdlrm
Edit: /opt/cloudlinux/venv/lib/python3.11/site-packages/distlib/__pycache__/manifest.cpython-311.pyc (17025B)
§ Å{e²ëÇ Kãó—dZddlZddlZddlZddlZddlZddlmZddlm Z ddl m Z dgZ ej e¦«Zejdej¦«Zejd ejejz¦«Zejdd …ZGd „de¦«ZdS) zu Class representing the list of files in a distribution. Equivalent to distutils.filelist, but fixes some problems. éNé)ÚDistlibException)Úfsdecode©Ú convert_pathÚManifestz\\w* z#.*?(?= )| (?=$)écóp—eZdZdZdd„Zd„Zd„Zd„Zdd„Zd „Z d „Z d „Z dd „Z dd„Z dd„Zd„ZdS)rz€ A list of files built by exploring the filesystem and filtered by applying various patterns to what we find there. Ncó—tj tj |ptj¦«¦«¦«|_|jtjz|_d|_t¦«|_ dS)zd Initialise an instance. :param base: The base directory to explore under. N) ÚosÚpathÚabspathÚnormpathÚgetcwdÚbaseÚsepÚprefixÚallfilesÚsetÚfiles)Úselfrs úb/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib/python3.11/site-packages/distlib/manifest.pyÚ__init__zManifest.__init__,sZ€õ ”G—O’O¥B¤G×$4Ò$4°TÐ5H½R¼Y¹[¼[Ñ$IÔ$IÑJÔJˆŒ Ø”i¥"¤&Ñ(ˆŒ ؈Œ Ý‘U”UˆŒ ˆ ˆ ócó—ddlm}m}m}gx|_}|j}|g}|j}|j}|r±|¦«}tj |¦«} | D]Œ} tj   || ¦«} tj| ¦«} | j } || ¦«r#| t| ¦«¦«Œk|| ¦«r|| ¦«s || ¦«Œ�|°¯dSdS)zmFind all files under the base and set ``allfiles`` to the absolute pathnames of files found. r)ÚS_ISREGÚS_ISDIRÚS_ISLNKN)ÚstatrrrrrÚpopÚappendr Úlistdirr ÚjoinÚst_moder)rrrrrÚrootÚstackr ÚpushÚnamesÚnameÚfullnamerÚmodes rÚfindallzManifest.findall;s €ð 3Ð2Ð2Ð2Ð2Ð2Ð2Ð2Ð2Ð2à#%Ð%ˆŒ ˜ØŒyˆØ�ˆØŒiˆØŒ|ˆàð #Ø�3‘5”5ˆDÝ”J˜tÑ$Ô$ˆEàð #ð #�Ýœ7Ÿ<š<¨¨dÑ3Ô3�õ”w˜xÑ(Ô(�Ø”|�Ø�7˜4‘=”=ð#Ø—O’O¥H¨XÑ$6Ô$6Ñ7Ô7Ð7Ð7Ø�W˜T‘]”]ð#¨7¨7°4©=¬=ð#Ø�D˜‘N”N�Nøðð #ð #ð #ð #ð #rcóò—| |j¦«s%tj |j|¦«}|j tj |¦«¦«dS)zz Add a file to the manifest. :param item: The pathname to add. This can be relative to the base. N) Ú startswithrr r r#rrÚaddr)rÚitems rr/z Manifest.addVs[€ð �Š˜tœ{Ñ+Ô+ð 1Ý”7—<’< ¤ ¨4Ñ0Ô0ˆDØ Œ �Š•r”w×'Ò'¨Ñ-Ô-Ñ.Ô.Ð.Ð.Ð.rcó:—|D]}| |¦«ŒdS)z† Add a list of files to the manifest. :param items: The pathnames to add. These can be relative to the base. N)r/)rÚitemsr0s rÚadd_manyzManifest.add_many`s.€ð ð ð ˆDØ �HŠH�T‰NŒNˆNˆNð ð rFc󇇗ˆˆfd„Št‰j¦«}|rAt¦«}|D]+}‰|tj |¦«¦«Œ,||z}d„t d„|D¦«¦«D¦«S)z8 Return sorted files in directory order cóê•—| |¦«t d|¦«|‰jkr6tj |¦«\}}|dvsJ‚‰||¦«dSdS)Nzadd_dir added %s)Úú/)r/ÚloggerÚdebugrr r Úsplit)ÚdirsÚdÚparentÚ_Úadd_dirrs €€rr?z Manifest.sorted..add_dirnsyø€Ø �HŠH�Q‰KŒKˆKÝ �LŠLÐ+¨QÑ /Ô /Ð /Ø�D”IŠ~ˆ~ÝœGŸMšM¨!Ñ,Ô,‘ �˜Ø YÐ.Ð.Ð.Ð.Ø�˜˜fÑ%Ô%Ð%Ð%Ð%ðˆ~rcó4—g|]}tjj|Ž‘ŒS©)r r r#)Ú.0Ú path_tuples rú z#Manifest.sorted..|s3€ð@ð@ð@¨j•”” ˜jÐ)ð@ð@ð@rc3óTK—|]#}tj |¦«V—Œ$dS©N)r r r:)rBr s rú z"Manifest.sorted..}s0èè€Ð>Ð>¨t•r”w—}’} TÑ*Ô*Ð>Ð>Ð>Ð>Ð>Ð>r)rrr r ÚdirnameÚsorted)rÚwantdirsÚresultr;Úfr?s` @rrIzManifest.sortedis»øø€ð  &ð &ð &ð &ð &ð &õ�T”Z‘”ˆØ ð Ý‘5”5ˆDØð 2ð 2�Ø�˜�bœgŸošo¨aÑ0Ô0Ñ1Ô1Ð1Ð1Ø �d‰NˆFð@ð@ÝÐ>Ð>°vÐ>Ñ>Ô>Ñ>Ô>ð@ñ@ô@ð @rcó:—t¦«|_g|_dS)zClear all collected files.N)rrr)rs rÚclearzManifest.clears€å‘U”UˆŒ ؈Œ ˆ ˆ rcóž—| |¦«\}}}}|dkr9|D]4}| |d¬¦«st d|¦«Œ5dS|dkr|D]}| |d¬¦«ŒdS|dkr9|D]4}| |d¬¦«st d|¦«Œ5dS|d kr|D]}| |d¬¦«ŒdS|d kr:|D]5}| ||¬ ¦«st d ||¦«Œ6dS|d kr|D]}| ||¬ ¦«ŒdS|dkr6| d|¬ ¦«st d|¦«dSdS|dkr6| d|¬ ¦«st d|¦«dSdSt d|z¦«‚)av Process a directive which either adds some files from ``allfiles`` to ``files``, or removes some files from ``files``. :param directive: The directive to process. This should be in a format compatible with distutils ``MANIFEST.in`` files: http://docs.python.org/distutils/sourcedist.html#commands ÚincludeT)Úanchorzno files found matching %rÚexcludeúglobal-includeFz3no files found matching %r anywhere in distributionúglobal-excludeúrecursive-include)rz-no files found matching %r under directory %rúrecursive-excludeÚgraftNz no directories found matching %rÚprunez4no previously-included directories found matching %rzinvalid action %r)Ú_parse_directiveÚ_include_patternr8ÚwarningÚ_exclude_patternr)rÚ directiveÚactionÚpatternsÚthedirÚ dirpatternÚpatterns rÚprocess_directivezManifest.process_directive„sæ€ð04×/DÒ/DÀYÑ/OÔ/OÑ,ˆ�˜& *ð �YÒ Ð Ø#ð Jð J�Ø×,Ò,¨W¸TÐ,ÑBÔBðJÝ—N’NÐ#?ÀÑIÔIÐIøð Jð Jð�yÒ Ð Ø#ð <ð <�Ø×%Ò% g°dÐ%Ñ;Ô;Ð;Ð;ð <ð <ðÐ'Ò 'Ð 'Ø#ð Hð H�Ø×,Ò,¨W¸UÐ,ÑCÔCðHÝ—N’Nð$>Ø?FñHôHðHøð Hð Hð Ð'Ò 'Ð 'Ø#ð =ð =�Ø×%Ò% g°eÐ%Ñ<Ô<Ð<Ð<ð =ð =ðÐ*Ò *Ð *Ø#ð Jð J�Ø×,Ò,¨W¸VÐ,ÑDÔDðJÝ—N’Nð$8Ø9@À&ñJôJðJøð Jð Jð Ð*Ò *Ð *Ø#ð >ð >�Ø×%Ò% g°fÐ%Ñ=Ô=Ð=Ð=ð >ð >ð�wÒ Ð Ø×(Ò(¨°jÐ(ÑAÔAð +Ý—’ÐAØ)ñ+ô+ð+ð+ð+ð +ð +ð�wÒ Ð Ø×(Ò(¨°jÐ(ÑAÔAð :Ý—’ð -Ø.8ñ:ô:ð:ð:ð:ð :ð :õ #Ø# fÑ,ñ.ô.ð .rcó|—| ¦«}t|¦«dkr |ddvr| dd¦«|d}dx}x}}|dvr:t|¦«dkrtd|z¦«‚d „|dd…D¦«}n¤|d vrOt|¦«d krtd |z¦«‚t |d¦«}d „|dd…D¦«}nQ|dvr;t|¦«dkrtd|z¦«‚t |d¦«}ntd|z¦«‚||||fS)zŸ Validate a directive. :param directive: The directive to validate. :return: A tuple of action, patterns, thedir, dir_patterns rr)rPrRrSrTrUrVrWrXrPN)rPrRrSrTr z$%r expects ...có,—g|]}t|¦«‘ŒSrAr©rBÚwords rrDz-Manifest._parse_directive..áó €ÐAÐAÐA¨t�  TÑ*Ô*ÐAÐAÐAr)rUrVéz*%r expects ...có,—g|]}t|¦«‘ŒSrArrfs rrDz-Manifest._parse_directive..érhr)rWrXz!%r expects a single zunknown action %r)r:ÚlenÚinsertrr)rr]Úwordsr^r_r`Ú dir_patterns rrYzManifest._parse_directiveÈs €ð —’Ñ!Ô!ˆÝ ˆu‰:Œ:˜Š?ˆ?˜u Qœxð0Bð Bð Bð �LŠL˜˜IÑ &Ô &Ð &à�q”ˆØ*.Ð.ˆÐ.�6˜Kà ð:ð :ð :å�5‰zŒz˜AŠ~ˆ~Ý&Ø:¸VÑCñEôEðEðBÐA°u¸Q¸R¸R´yÐAÑAÔAˆHˆHà ÐAÐ AÐ AÝ�5‰zŒz˜AŠ~ˆ~Ý&Ø@À6ÑIñKôKðKõ" %¨¤(Ñ+Ô+ˆFØAÐA°u¸Q¸R¸R´yÐAÑAÔAˆHˆHà Ð)Ð )Ð )Ý�5‰zŒz˜QŠˆÝ&Ø7¸&Ñ@ñBôBðBõ' u¨Q¤xÑ0Ô0ˆKˆKõ#Ð#6¸Ñ#?Ñ@Ô@Ð @à�x ¨Ð4Ð4rTcóæ—d}| ||||¦«}|j€| ¦«|jD]3}| |¦«r|j |¦«d}Œ4|S)a…Select strings (presumably filenames) from 'self.files' that match 'pattern', a Unix-style wildcard (glob) pattern. Patterns are not quite the same as implemented by the 'fnmatch' module: '*' and '?' match non-special characters, where "special" is platform-dependent: slash on Unix; colon, slash, and backslash on DOS/Windows; and colon on Mac OS. If 'anchor' is true (the default), then the pattern match is more stringent: "*.py" will match "foo.py" but not "foo/bar.py". If 'anchor' is false, both of these will match. If 'prefix' is supplied, then only filenames starting with 'prefix' (itself a pattern) and ending with 'pattern', with anything in between them, will match. 'anchor' is ignored in this case. If 'is_regex' is true, 'anchor' and 'prefix' are ignored, and 'pattern' is assumed to be either a string containing a regex or a regex object -- no translation is done, the regex is just compiled and used as-is. Selected strings will be added to self.files. Return True if files are found. FNT)Ú_translate_patternrr,Úsearchrr/)rrbrQrÚis_regexÚfoundÚ pattern_rer)s rrZzManifest._include_pattern÷s€ð8ˆØ×,Ò,¨W°f¸fÀhÑOÔOˆ ð Œ=Ð Ø �LŠL‰NŒNˆNà”Mð ð ˆDØ× Ò  Ñ&Ô&ð Ø” —’˜tÑ$Ô$Ð$Ø�øØˆ rcóÊ—d}| ||||¦«}t|j¦«D]3}| |¦«r|j |¦«d}Œ4|S)atRemove strings (presumably filenames) from 'files' that match 'pattern'. Other parameters are the same as for 'include_pattern()', above. The list 'self.files' is modified in place. Return True if files are found. This API is public to allow e.g. exclusion of SCM subdirs, e.g. when packaging source distributions FT)rpÚlistrrqÚremove)rrbrQrrrrsrtrLs rr\zManifest._exclude_pattern sr€ðˆØ×,Ò,¨W°f¸fÀhÑOÔOˆ Ý�d”jÑ!Ô!ð ð ˆAØ× Ò  Ñ#Ô#ð Ø” ×!Ò! !Ñ$Ô$Ð$Ø�øØˆ rcó —|r+t|t¦«rtj|¦«S|Stdkr,| d¦« d¦«\}}}|rM| |¦«}tdkr,| |¦«r| |¦«sJ‚nd}tj tj   |j d¦«¦«} |��OtdkrA| d¦«} | |¦«dt| ¦« …} nu| |¦«} |  |¦«r|  |¦«sJ‚| t|¦«t| ¦«t|¦«z …} tj} tjdkrd} tdkr!d| z|   | d|zf¦«z}nw|t|¦«t|¦«t|¦«z …}|›| ›| ›| ›d|›|›�}n3|r1tdkr d| z|z}n|›| ›|t|¦«d…›�}tj|¦«S) aTranslate a shell-like wildcard pattern to a compiled regular expression. Return the compiled regex. If 'is_regex' true, then 'pattern' is directly compiled to a regex (if it's a string) or just returned as-is (assumes it's a regex object). )rir r>r6Nú\z\\ú^z.*)Ú isinstanceÚstrÚreÚcompileÚ_PYTHON_VERSIONÚ _glob_to_reÚ partitionr.ÚendswithÚescaper r r#rrkr) rrbrQrrrÚstartr>ÚendrtrÚ empty_patternÚ prefix_rers rrpzManifest._translate_pattern4s�€ð ð ݘ'¥3Ñ'Ô'ð Ý”z 'Ñ*Ô*Ð*à�å ˜VÒ #Ð #à ×,Ò,¨SÑ1Ô1×;Ò;¸CÑ@Ô@‰MˆE�1�cà ð Ø×)Ò)¨'Ñ2Ô2ˆJÝ Ò'Ð'Ø!×,Ò,¨UÑ3Ô3ÐP¸ ×8KÒ8KÈCÑ8PÔ8PÐPÐPÐPøàˆJåŒy�œŸš d¤i°Ñ4Ô4Ñ5Ô5ˆØ Ñ å &Ò(Ð(Ø $× 0Ò 0°Ñ 4Ô 4� Ø ×,Ò,¨VÑ4Ô4Ð5Iµs¸=Ñ7IÔ7IÐ6IÐ5IÔJ� � à ×,Ò,¨VÑ4Ô4� Ø ×+Ò+¨EÑ2Ô2ÐN°y×7IÒ7IÈ#Ñ7NÔ7NÐNÐNÐNØ%¥c¨%¡j¤jµ#°i±.´.Å3ÀsÁ8Ä8Ñ2KÐ&KÔL� Ý”&ˆCÝŒv˜Š~ˆ~Ø�Ý &Ò(Ð(Ø  4™Z¨#¯(ª(°IØ48¸:Ñ4Eð4Gñ+Hô+HñH� � ð(­¨E© ¬ µC¸ ±O´OÅcÈ#ÁhÄhÑ4NÐ(NÔO� Ø27°%¸¸¸y¸yÈ#È#È#Ø2<°*¸c¸cðC� � ðð TÝ" fÒ,Ð,Ø!$ t¡¨jÑ!8�J�Jà.3¨e°T°T¸:ÅcÈ%ÁjÄjÀkÀkÔ;RÐ;RÐ!S�JåŒz˜*Ñ%Ô%Ð%rcó —tj|¦«}tj}tjdkrd}d|z}t jd||¦«}|S)z÷Translate a shell-like glob pattern to a regular expression. Return a string containing the regex. Differs from 'fnmatch.translate()' in that '*' does not match "special characters" (which are platform-specific). ryz\\\\z\1[^%s]z((?ˆ>ðˆCؘsÑ"ˆÝ”VÐ1°7¸JÑGÔGˆ ØÐrrF)F)TNF)Ú__name__Ú __module__Ú __qualname__Ú__doc__rr,r/r3rIrNrcrYrZr\rpr€rArrrr&s€€€€€ððð ð ð ð ð#ð#ð#ð6/ð/ð/ðððð@ð@ð@ð@ð,ððð >.ð>.ð>.ðH-5ð-5ð-5ð^=AØ"'ð'ð'ð'ð'ðR=AØ"'ððððð(?CØ$)ð5&ð5&ð5&ð5&ðnððððr)r�r‰Úloggingr r}Úsysr6rÚcompatrÚutilrÚ__all__Ú getLoggerr�r8r~ÚMÚ_COLLAPSE_PATTERNÚSÚ_COMMENTED_LINEÚ version_inforÚobjectrrArrúr�sðð ðð €€€Ø€€€Ø € € € Ø € € € Ø € € € àÐÐÐÐÐØÐÐÐÐÐØÐÐÐÐÐð ˆ,€à ˆÔ ˜8Ñ $Ô $€ð�B”J˜z¨2¬4Ñ0Ô0ÐØ�"”*Ð1°2´4¸"¼$±;Ñ?Ô?€ðÔ" 2 A 2Ô&€ðZðZðZðZðZˆvñZôZðZðZðZr