관리-도구
편집 파일: wheel.cpython-311.pyc
� �Re[ � �Z � d dl mZ d dlmZ d dlmZ d dlmZmZm Z G d� de� � Z dS )� )�canonicalize_name)�AbstractDistribution)� PackageFinder)�BaseDistribution�FilesystemWheel�get_wheel_distributionc �2 � e Zd ZdZdefd�Zdededdfd�ZdS )�WheelDistributionzqRepresents a wheel distribution. This does not need any preparation as wheels can be directly unpacked. �returnc �� � | j j s J d� � �| j j s J 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 )�self�wheels ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/distributions/wheel.py�get_metadata_distributionz+WheelDistribution.get_metadata_distribution sf � � �x�'�U�U�)U�U�U�U��x�}�8�8�8�8�8�8���� 8�9�9��%�e�->�t�x�}�-M�-M�N�N�N� �finder�build_isolationNc � � d S )N� )r r r s r �prepare_distribution_metadataz/WheelDistribution.prepare_distribution_metadata s � � �r ) �__name__� __module__�__qualname__�__doc__r r r �boolr r r r r r sk � � � � � �� � O�+;� O� O� O� O� �#� �6:� � � � � � � � r r N)�pip._vendor.packaging.utilsr � pip._internal.distributions.baser �"pip._internal.index.package_finderr �pip._internal.metadatar r r r r r r �<module>r# s� �� 9� 9� 9� 9� 9� 9� A� A� A� A� A� A� <� <� <� <� <� <�� � � � � � � � � � � � � � �,� � � � � r