σ
@K7]c           @` s   d  d l  m Z m Z m Z d  d l Z d  d l Z d  d l m Z m Z m	 Z	 d  d l
 m Z e j d e j  d   Z d   Z d   Z d S(	   i    (   t   absolute_importt   divisiont   print_functionN(   t   ArgumentParsert   add_parser_prefixt
   get_prefix(   t   apit   levelc         C` sΡ   t  d d  } | j d d d d d d d	 | j d
 d d d d d | j d d d d d d | j d d d d d d | j d d d d d d t |  | j d t  | j |   }  | |  f S(   Nt   descriptionsl   

Install a Python package in 'development mode'.

This works by creating a conda.pth file in site-packages.t   sourcet   metavart   PATHt   nargst   +t   helps   Path to the source directory.s   -npfs   --no-pth-filet   actiont
   store_truest   Relink compiled extension dependencies against libraries found in current conda env. Do not add source to conda.pth.s   -bs   --build_exts   Build extensions inplace, invoking: python setup.py build_ext --inplace; add to conda.pth; relink runtime libraries to environment's lib/.s   -cs   --cleans\   Invoke clean on setup.py: python setup.py clean use with build_ext to clean before building.s   -us   --uninstalls   Removes package if installed in 'development mode' by deleting path from conda.pth file. Ignore other options - just uninstall and exitt   func(   R   t   add_argumentR   t   set_defaultst   executet
   parse_args(   t   argst   p(    (    s;   lib/python2.7/site-packages/conda_build/cli/main_develop.pyR      s.    	
c         C` s\   t  |   \ } }  t |   } t j |  j d | d |  j d |  j d |  j d |  j d  S(   Nt   prefixt   no_pth_filet	   build_extt   cleant	   uninstall(	   R   R   R   t   developR	   R   R   R   R   (   R   t   _R   (    (    s;   lib/python2.7/site-packages/conda_build/cli/main_develop.pyR   @   s    c           C` s   t  t j d  S(   Ni   (   R   t   syst   argv(    (    (    s;   lib/python2.7/site-packages/conda_build/cli/main_develop.pyt   mainG   s    (   t
   __future__R    R   R   t   loggingR   t   conda_build.conda_interfaceR   R   R   t   conda_buildR   t   basicConfigt   INFOR   R   R!   (    (    (    s;   lib/python2.7/site-packages/conda_build/cli/main_develop.pyt   <module>   s   	-	