1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
U
H=®d‘ã@srddlZddlmZddlmZerTddlmZddlmZddl    m
Z
ddl m Z eej ƒGdd    „d    eƒƒZdS)
éN)Ú add_metaclass)ÚMYPY_CHECK_RUNNING)ÚOptional)Ú Distribution)ÚInstallRequirement)Ú PackageFindercs<eZdZdZ‡fdd„Zejdd„ƒZejdd„ƒZ‡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.
    cstt|ƒ ¡||_dS©N)ÚsuperrÚ__init__Úreq)Úselfr ©Ú    __class__©úWD:\z\workplace\VsCode\pyvenv\venv\Lib\site-packages\pip/_internal/distributions/base.pyr  szAbstractDistribution.__init__cCs
tƒ‚dSr    ©ÚNotImplementedError)r rrrÚget_pkg_resources_distribution%sz3AbstractDistribution.get_pkg_resources_distributioncCs
tƒ‚dSr    r)r ÚfinderÚbuild_isolationrrrÚprepare_distribution_metadata*sz2AbstractDistribution.prepare_distribution_metadata)
Ú__name__Ú
__module__Ú __qualname__Ú__doc__r ÚabcÚabstractmethodrrÚ __classcell__rrrrrs  
r)rZpip._vendor.sixrÚpip._internal.utils.typingrÚtypingrZpip._vendor.pkg_resourcesrZpip._internal.reqrÚ"pip._internal.index.package_finderrÚABCMetaÚobjectrrrrrÚ<module>s