ó
Ý²k^c           @` sË   d  d l  m Z m Z m Z m Z d  d l m Z d  d l m Z d d l	 m
 Z
 d d l m Z d d l m Z d d	 l m Z d d
 l m Z d d l m Z d d l m Z e e ƒ Z d „  Z d S(   i    (   t   absolute_importt   divisiont   print_functiont   unicode_literals(   t	   getLogger(   t   isdiri   (   t
   confirm_yn(   t   installi   (   t   context(   t   paths_equal(   t   CondaValueError(   t   rm_rf(   t   is_conda_environmentc         C` s¶   t  t j ƒ rs t t j t j ƒ r3 t d ƒ ‚ n  t d t j d d d t ƒt j	 d t j ƒ t
 t j ƒ n/ t t j ƒ r¢ t d t j d d d t ƒn  t |  | d ƒ d  S(	   Nu/   The target prefix is the base prefix. Aborting.uO   WARNING: A conda environment already exists at '%s'
Remove existing environmentt   defaultu   not   dry_runu    Removing existing environment %su€   WARNING: A directory already exists at the target location '%s'
but it is not a conda environment.
Continue creating environmentu   create(   R   R   t   target_prefixR	   t   root_prefixR
   R   t   Falset   logt   infoR   R   R   (   t   argst   parser(    (    s4   lib/python2.7/site-packages/conda/cli/main_create.pyt   execute   s    


N(   t
   __future__R    R   R   R   t   loggingR   t   os.pathR   t   commonR   R   t   base.contextR   t   common.pathR	   t
   exceptionsR
   t   gateways.disk.deleteR   t   gateways.disk.testR   t   __name__R   R   (    (    (    s4   lib/python2.7/site-packages/conda/cli/main_create.pyt   <module>   s   "