관리-도구
편집 파일: wheel.cpython-311.pyc
� �Dg% � �n � d dl mZmZ d dlmZ d dlmZ d dlmZm Z m Z erd dlmZ G d� de� � Z dS ) � )� TYPE_CHECKING�Optional)�canonicalize_name)�AbstractDistribution)�BaseDistribution�FilesystemWheel�get_wheel_distribution)� PackageFinderc �^ � e Zd ZdZedee fd�� � Zdefd�Z ddde de dd fd �Zd S )�WheelDistributionzqRepresents a wheel distribution. This does not need any preparation as wheels can be directly unpacked. �returnc � � d S �N� )�selfs ��/builddir/build/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/distributions/wheel.py�build_tracker_idz"WheelDistribution.build_tracker_id s � ��t� c �� � | 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 )r �wheels r �get_metadata_distributionz+WheelDistribution.get_metadata_distribution se � � �x�'�U�U�)U�U�U�'��x�}�8�8�8�8�8�}���� 8�9�9��%�e�->�t�x�}�-M�-M�N�N�Nr �finderr �build_isolation�check_build_depsNc � � d S r r )r r r r s r �prepare_distribution_metadataz/WheelDistribution.prepare_distribution_metadata$ s � � �r )�__name__� __module__�__qualname__�__doc__�propertyr �strr r r �boolr r r r r r s� � � � � � �� � ��(�3�-� � � � �X��O�+;� O� O� O� O� �� � � � � � � � � � � � r r N)�typingr r �pip._vendor.packaging.utilsr � pip._internal.distributions.baser �pip._internal.metadatar r r �"pip._internal.index.package_finderr r r r r �<module>r, s� �� *� *� *� *� *� *� *� *� 9� 9� 9� 9� 9� 9� A� A� A� A� A� A�� � � � � � � � � � � A�@�@�@�@�@�@� � � � � �,� � � � � r