.]OjW d Z ddlmZ ddlmZ ddlmZ ddlm Z ddlZddlZddl Z ddlZddlZddl Z ddlZddlZddlmZ dd lmZmZ d dlmZ ddlmZ dd lmZ ddlmZ ddlmZ ddlmZ ddlm Z ddl!m"Z" ddl#m$Z$ ddl%m&Z& dj' e j( Z)d Z* G d d Z+ G d de+e Z, G d de Z G d de Z-d Z.d Z/d Z0ej1 Z1ej2 Z2d! Z3d" Z4d)d$Z5d% Z6d*d&Z7 G d' d(e& Z8dS )+zUsetuptools.command.egg_info Create a distribution's .egg-info directory and contents )FileList)DistutilsInternalError)convert_path)logN )metadata) _entry_points_normalization )_requirestxt)Command)sdist)walk_revctrl)edit_config) bdist_egg)glob) packaging)SetuptoolsDeprecationWarningz{}.{}c d} | j t j j }t j t j }d|d}t | D ]f\ }}|t | dz k }|dk r|r|dz }n|d|d|d z }7d }t | } || k r|| } | dk r ||dz z }n| dk r||z }n| d k r|dz }|| k r|| dk r|dz }|| k r|| dk r|dz }|| k r#|| dk r|dz }|| k r|| dk || k r|t j | z }na||dz | }d} |d dk rd} |dd }| t j | z } |d | dz }|}n|t j | z }|dz }|| k |s||z }h|dz }t j |t j t j z S )z Translate a file path glob like '*.txt' in to a regular expression. This differs from fnmatch.translate which allows wildcards to match directory separators. It also knows about '**/' which matches any number of directories. z[^]r **z.*z(?:+z)*r *?[!^Nz\Z)flags)splitospathsepreescape enumeratelencompile MULTILINEDOTALL)r patchunksr# valid_charcchunk last_chunki chunk_lencharinner_iinner char_classs {/builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/command/egg_info.pytranslate_patternr8 % s C TZ $ $F )BF CCCC!Jf%% > >5#f++/) D== 8t zzz33377 JJ )mm8Ds{{zC''z!a%Y&&5>S+@+@%kGY&&5>S+@+@%kG ))eGn.C.C%kG ))eGn.C.C i'' 29T??*CC "!a%'/2E!#J Qx3%( %abb ")E"2"22JCZZZ11C AAry& FAU )mmZ 3JC5LC :c !9:::: c v e Zd ZdZdZed Zd Zd Zde de fdZde fdZde fd Z ee ZdS ) InfoCommonNc X t j | j S N)r safe_namedistributionget_nameselfs r7 namezInfoCommon.name| s" '(9(B(B(D(DEEEr9 c | | j }t j | S r= ) _maybe_tagr? get_versionr safe_version)rB taggeds r7 tagged_versionzInfoCommon.tagged_version s3 !2!>!>!@!@AA*6222r9 c R | j r| | r|n || j z S )z egg_info may be called more than once for a distribution, in which case the version string already contains all tags. )vtags_already_taggedrB versions r7 rE zInfoCommon._maybe_tag s7 z &"227;; &GG4:% r9 rN returnc | | j p&| | S r= )endswithrK _safe_tagsrM s r7 rL zInfoCommon._already_tagged s7 ++Rw/?/?@Q@Q/R/RRr9 c t j d| j dd S # t j j $ r0 t j | j dd cY S w xY w)N0r .)r rG rK r rN InvalidVersionr> replacerA s r7 rR zInfoCommon._safe_tags s{ J!./?4:/?/?@@DD / J J J!+DJ,>,>sC,H,HIIIII Js #&