
q^c           @   sL   d  Z  d d l Z d d l m Z d d l m Z d e f d     YZ d S(   sD   
Create a dist_info directory
As defined in the wheel specification
iN(   t   Command(   t   logt	   dist_infoc           B   s2   e  Z d  Z d g Z d   Z d   Z d   Z RS(   s   create a .dist-info directorys	   egg-base=t   esL   directory containing .egg-info directories (default: top of the source tree)c         C   s   d  |  _ d  S(   N(   t   Nonet   egg_base(   t   self(    (    s@   /tmp/pip-build-aSgKnK/setuptools/setuptools/command/dist_info.pyt   initialize_options   s    c         C   s   d  S(   N(    (   R   (    (    s@   /tmp/pip-build-aSgKnK/setuptools/setuptools/command/dist_info.pyt   finalize_options   s    c         C   s   |  j  d  } |  j | _ | j   | j   | j t d   d } t j d j t	 j
 j |    |  j  d  } | j | j |  d  S(   Nt   egg_infos	   .egg-infos
   .dist-infos   creating '{}'t   bdist_wheel(   t   get_finalized_commandR   R   t   runR	   t   lenR   t   infot   formatt   ost   patht   abspatht   egg2dist(   R   R	   t   dist_info_dirR
   (    (    s@   /tmp/pip-build-aSgKnK/setuptools/setuptools/command/dist_info.pyR      s    

"(   s	   egg-base=R   sL   directory containing .egg-info directories (default: top of the source tree)(   t   __name__t
   __module__t   descriptiont   user_optionsR   R   R   (    (    (    s@   /tmp/pip-build-aSgKnK/setuptools/setuptools/command/dist_info.pyR      s
   			(   t   __doc__R   t   distutils.coreR    t	   distutilsR   R   (    (    (    s@   /tmp/pip-build-aSgKnK/setuptools/setuptools/command/dist_info.pyt   <module>   s   