<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>

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    zAbstractDistribution.__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   Zpip._vendor.sixr   pip._internal.utils.typingr   typingr   Zpip._vendor.pkg_resourcesr   Zpip._internal.reqr   "pip._internal.index.package_finderr   ABCMetaobjectr   r   r   r   r   <module>   s   