관리-도구
편집 파일: installed.cpython-38.pyc
U &?�fJ � @ sD d dl mZ d dlmZ d dlmZ d dlmZ G dd� de�ZdS )� )�Optional)�AbstractDistribution)� PackageFinder)�BaseDistributionc @ sH e Zd ZdZeee d�dd��Zed�dd�Z e eedd�d d �ZdS )�InstalledDistributionz�Represents an installed package. This does not need any preparation as the required information has already been computed. )�returnc C s d S �N� ��selfr r �S/opt/hc_python/lib/python3.8/site-packages/pip/_internal/distributions/installed.py�build_tracker_id s z&InstalledDistribution.build_tracker_idc C s | j jd k std��| j jS )Nznot actually installed)�req�satisfied_by�AssertionErrorr r r r �get_metadata_distribution s z/InstalledDistribution.get_metadata_distributionN)�finder�build_isolation�check_build_depsr c C s d S r r )r r r r r r r �prepare_distribution_metadata s z3InstalledDistribution.prepare_distribution_metadata) �__name__� __module__�__qualname__�__doc__�propertyr �strr r r r �boolr r r r r r s �r N) �typingr � pip._internal.distributions.baser �"pip._internal.index.package_finderr �pip._internal.metadatar r r r r r �<module> s