관리-도구
편집 파일: base.cpython-35.pyc
��Re� � @ s� d d l Z d d l m Z d d l m Z e rr d d l m Z d d l m Z d d l m Z d d l m Z e e j � Gd d � d e � � Z d S) � N)� add_metaclass)�MYPY_CHECK_RUNNING)�Optional)�Distribution)�InstallRequirement)� PackageFinderc sR e Z d Z d Z � f d d � Z e j d d � � Z e j d d � � Z � S)�AbstractDistributiona A base class for handling installable artifacts. The requirements for anything installable are as follows: - we must be able to determine the requirement name (or we can't correctly handle the non-upgrade case). - for packages with setup requirements, we must also be able to determine their requirements without installing additional packages (for the same reason as run-time dependencies) - we must be able to create a Distribution object exposing the above metadata. c s t t | � j � | | _ d S)N)�superr �__init__�req)�selfr )� __class__� ��/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_internal/distributions/base.pyr s zAbstractDistribution.__init__c C s t � � d S)N)�NotImplementedError)r r r r �get_pkg_resources_distribution% s z3AbstractDistribution.get_pkg_resources_distributionc C s t � � d S)N)r )r �finder�build_isolationr r r �prepare_distribution_metadata* s z2AbstractDistribution.prepare_distribution_metadata) �__name__� __module__�__qualname__�__doc__r �abc�abstractmethodr r r r )r r r s r )r Zpip._vendor.sixr �pip._internal.utils.typingr �typingr Zpip._vendor.pkg_resourcesr Zpip._internal.reqr �"pip._internal.index.package_finderr �ABCMeta�objectr r r r r �<module> s