ó
^ęWc           @   sU   d  Z  d d l Z d d l Z d d l j Z d d l j j Z d   Z	 d   Z
 d S(   sJ   
Installation paths.

Map the .data/ subdirectory names to install paths.
i˙˙˙˙Nc         C   s3   t  j i |  d 6 } t j |  } | j   | S(   Nt   name(   t   distt   Distributiont   installt   finalize_options(   R    t   dt   i(    (    s^   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/wheel/wheel/paths.pyt   get_install_command   s    
c         C   s   i  } t  |   } x( t j D] } t | d |  | | <q Wt t d  r t j j t j	 d d d t j
 d  |   | d <n  | S(   s   
    Return the (distutils) install paths for the named dist.
    
    A dict with ('purelib', 'platlib', 'headers', 'scripts', 'data') keys.
    t   install_t   real_prefixt   includet   sitet   pythoni   t   headers(   R   R   t   SCHEME_KEYSt   getattrt   hasattrt   syst   ost   patht   joint   prefixt   version(   R    t   pathsR   t   key(    (    s^   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/wheel/wheel/paths.pyt   get_install_paths   s    (   t   __doc__t   os.pathR   R   t   distutils.distR   t   distutils.command.installt   commandR   R   R   (    (    (    s^   /private/var/folders/3n/6h2rwf155rn1m71wwyxn79n80000gn/T/pip-build-IcAT_k/wheel/wheel/paths.pyt   <module>   s   	