
    xhe	                        d dl mZ d dlZd dlmZ d dlmZ d dlmZm	Z	 ddl
mZ ddlmZmZ  ej        ej        	           ddZdddZdS )    )annotationsN)	Namespace)Sequence)contextdetermine_target_prefix   )api)ArgumentParseradd_parser_prefix)levelargsSequence[str] | Nonereturn tuple[ArgumentParser, Namespace]c                   t          dd          }|                    dddd           |                    d	d
dd           |                    dddd           |                    dddd           |                    dddd           t          |           |                    t                     ||                    |           fS )Nzconda developzl

Install a Python package in 'development mode'.

This works by creating a conda.pth file in site-packages.)progdescriptionsourcePATH+zPath to the source directory.)metavarnargshelpz-npfz--no-pth-file
store_trueztRelink compiled extension dependencies against libraries found in current conda env. Do not add source to conda.pth.)actionr   z-bz--build_extzBuild extensions inplace, invoking: python setup.py build_ext --inplace; add to conda.pth; relink runtime libraries to environment's lib/.z-cz--cleanz\Invoke clean on setup.py: python setup.py clean use with build_ext to clean before building.z-uz--uninstallzRemoves package if installed in 'development mode' by deleting path from conda.pth file. Ignore other options - just uninstall and exit)func)r
   add_argumentr   set_defaultsexecute
parse_args)r   parsers     <lib/python3.11/site-packages/conda_build/cli/main_develop.pyr    r       s;   =  F &2Q     .  	 	 	 "  
 
 
 ;  	 	 	 0  	 	 	 f
W%%%6$$T****    intc                    t          |           \  }}t          t          |          }t          j        |j        ||j        |j        |j        |j	                   dS )N)prefixno_pth_file	build_extclean	uninstallr   )
r    r   r   r	   developr   r'   r(   r)   r*   )r   _parsedr&   s       r"   r   r   O   sa    4  IAv$Wf55FK&"l"    1r#   )r   r   r   r   )N)r   r   r   r$   )
__future__r   loggingargparser   typingr   conda.base.contextr   r    r	   conda_interfacer
   r   basicConfigINFOr    r    r#   r"   <module>r8      s    # " " " " "              ? ? ? ? ? ? ? ?       ? ? ? ? ? ? ? ?  ', ' ' ' ';+ ;+ ;+ ;+|      r#   