U ÀÒ.eTã@s2ddlZddlmZeejƒGdd„deƒƒZdS)éN)Ú add_metaclasscs<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__©úD/usr/lib/python3.8/site-packages/pip/_internal/distributions/base.pyrszAbstractDistribution.__init__cCs tƒ‚dSr©ÚNotImplementedError)rr r r Úget_pkg_resources_distributionsz3AbstractDistribution.get_pkg_resources_distributioncCs tƒ‚dSrr )rÚfinderZbuild_isolationr r r Úprepare_distribution_metadata"sz2AbstractDistribution.prepare_distribution_metadata) Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚabcÚabstractmethodrrÚ __classcell__r r r r r s   r)rZpip._vendor.sixrÚABCMetaÚobjectrr r r r Ús