관리-도구
편집 파일: wheel.cpython-39.opt-1.pyc
a [��f[ � @ sL d dl mZ d dlmZ d dlmZ d dlmZmZm Z G dd� de�Z dS )� )�canonicalize_name)�AbstractDistribution)� PackageFinder)�BaseDistribution�FilesystemWheel�get_wheel_distributionc @ s0 e Zd ZdZed�dd�Zeedd�dd�ZdS ) �WheelDistributionzqRepresents a wheel distribution. This does not need any preparation as wheels can be directly unpacked. )�returnc C s t | jj�}t|t| jj��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. )r ZreqZlocal_file_pathr r �name)�selfZwheel� r �E/usr/lib/python3.9/site-packages/pip/_internal/distributions/wheel.py�get_metadata_distribution s z+WheelDistribution.get_metadata_distributionN)�finder�build_isolationr c C s d S )Nr )r r r r r r �prepare_distribution_metadata s z/WheelDistribution.prepare_distribution_metadata) �__name__� __module__�__qualname__�__doc__r r r �boolr r r r r r s �r N)Zpip._vendor.packaging.utilsr Z pip._internal.distributions.baser Z"pip._internal.index.package_finderr Zpip._internal.metadatar r r r r r r r �<module> s