ó
—¨ídc           @   sž   d  d l  Z  d  d l m Z d  d l m Z e ru d  d l m Z d  d l m Z d  d l	 m
 Z
 d  d l m Z n  e e  j ƒ d e f d	 „  ƒ  Yƒ Z d S(
   iÿÿÿÿN(   t   add_metaclass(   t   MYPY_CHECK_RUNNING(   t   Optional(   t   Distribution(   t   PackageFinder(   t   InstallRequirementt   AbstractDistributionc           B   s;   e  Z d  Z d „  Z e j d „  ƒ Z e j d „  ƒ Z RS(   s  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         C   s    t  t |  ƒ j ƒ  | |  _ d  S(   N(   t   superR   t   __init__t   req(   t   selfR	   (    (    sq   /var/www/when_to_call/project-create-wtc-api/venv/lib/python2.7/site-packages/pip/_internal/distributions/base.pyR   !   s    c         C   s   t  ƒ  ‚ d  S(   N(   t   NotImplementedError(   R
   (    (    sq   /var/www/when_to_call/project-create-wtc-api/venv/lib/python2.7/site-packages/pip/_internal/distributions/base.pyt   get_pkg_resources_distribution&   s    c         C   s   t  ƒ  ‚ d  S(   N(   R   (   R
   t   findert   build_isolation(    (    sq   /var/www/when_to_call/project-create-wtc-api/venv/lib/python2.7/site-packages/pip/_internal/distributions/base.pyt   prepare_distribution_metadata+   s    (   t   __name__t
   __module__t   __doc__R   t   abct   abstractmethodR   R   (    (    (    sq   /var/www/when_to_call/project-create-wtc-api/venv/lib/python2.7/site-packages/pip/_internal/distributions/base.pyR      s   	(   R   t   pip._vendor.sixR    t   pip._internal.utils.typingR   t   typingR   t   pip._vendor.pkg_resourcesR   t"   pip._internal.index.package_finderR   t   pip._internal.reqR   t   ABCMetat   objectR   (    (    (    sq   /var/www/when_to_call/project-create-wtc-api/venv/lib/python2.7/site-packages/pip/_internal/distributions/base.pyt   <module>   s   