Edit File: egg_info.cpython-311.pyc
� Q�d�i � � � d Z ddlmZ ddlmZ ddlmZ ddlm Z ddlZddlZddl Z ddlZddlZddl Z ddlZddlZddlZddlmZ dd lmZmZ dd lmZ ddlmZ ddlmZ dd lmZ ddlmZ ddlm Z ddl!m"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� Z0d� Z1d� Z2d � Z3d!� Z4d"� Z5d#� Z6d$� Z7d+d&�Z8d'� Z9d,d(�Z: G d)� d*e(� � Z;dS )-zUsetuptools.command.egg_info Create a distribution's .egg-info directory and contents� )�FileList)�DistutilsInternalError)�convert_path)�logN� )�metadata)� _entry_points�_normalization)�Command)�sdist)�walk_revctrl)�edit_config)� bdist_egg)�glob)� packaging)�yield_lines)�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 | �d�z }|}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[^�]� �**z.*z(?:�+z)*r �*�?�[�!�^Nz\Z)�flags)�split�os�path�sep�re�escape� enumerate�len�compile� MULTILINE�DOTALL)r �pat�chunksr# � valid_char�c�chunk� last_chunk�i� chunk_len�char�inner_i�inner� char_classs �l/builddir/build/BUILD/cloudlinux-venv-1.0.2/venv/lib/python3.11/site-packages/setuptools/command/egg_info.py�translate_patternr8 &