관리-도구
편집 파일: wheel.cpython-312.pyc
� G��e� � �^ � d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z m Z mZ G d� de� Zy) � )�Optional)�canonicalize_name)�AbstractDistribution)� PackageFinder)�BaseDistribution�FilesystemWheel�get_wheel_distributionc �P � e Zd ZdZedee fd�� Zdefd�Z de dededdfd �Zy) �WheelDistributionzqRepresents a wheel distribution. This does not need any preparation as wheels can be directly unpacked. �returnc � � y �N� )�selfs ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/distributions/wheel.py�build_tracker_idz"WheelDistribution.build_tracker_id s � �� c � � | j j sJ d� �| j j sJ d� �t | j j � }t |t | j j � � S )z�Loads the metadata from the wheel file into memory and returns a Distribution that uses it, not relying on the wheel file or requirement. z*Set as part of preparation during downloadzWheels are never unnamed)�req�local_file_path�namer r r )r �wheels r �get_metadata_distributionz+WheelDistribution.get_metadata_distribution s] � � �x�x�'�'�U�)U�U��x�x�}�}�8�8�8����� 8� 8�9��%�e�->�t�x�x�}�}�-M�N�Nr �finder�build_isolation�check_build_depsNc � � y r r )r r r r s r �prepare_distribution_metadataz/WheelDistribution.prepare_distribution_metadata"