관리-도구
편집 파일: format_control.cpython-311.pyc
� �܋f� � �L � d dl mZmZmZ d dlmZ d dlmZ G d� d� � ZdS )� )� FrozenSet�Optional�Set)�canonicalize_name)�CommandErrorc �� � e Zd ZdZddgZ ddeee deee ddfd�Zde de fd�Zdefd �Ze d edee dee ddfd�� � Zd edee fd�Zdd�ZdS )� FormatControlzBHelper for managing formats from which a package can be installed.� no_binary�only_binaryN�returnc �b � |�t � � }|�t � � }|| _ || _ d S �N)�setr r )�selfr r s �Z/opt/cloudlinux/venv/lib64/python3.11/site-packages/pip/_internal/models/format_control.py�__init__zFormatControl.__init__ s7 � � �����I����%�%�K�"���&����� �otherc � � �� t �� j � � st S � j �j k rdS t �� fd�� j D � � � � S )NFc 3 �\ �K � | ]&}t �|� � t �|� � k V � �'d S r )�getattr)�.0�kr r s ��r � <genexpr>z'FormatControl.__eq__.<locals>.<genexpr>! s<