
    si                    N    S SK Jr  S SKrS SKrS SKJr  S SKJr  \" \5      r	S r
g)    )annotationsN)	getLogger)joinc                 6   S[         R                  ;   Ga  SSKJn Jn  [         R
                  S:X  a  U nOUnU" 5       nS nUR                  [         R                  S   5      n/ nSnU H  nUR                  S5      (       az  U(       dq  Sn[        [        R                  S5      U:w  a>  [        [        R                  S5      n[        SU S	U 35        UR                  U5        M~  UR                  U5        M  M  UR                  U5        M     [         R                  R                  U5      [         R                  S
'   U" 5       nUR                  [         R                  S   5      n[         R                  R                  U5      [         R                  S
'   g g )NCONDA_PREFIX   )CmdExeActivatorPosixActivatorntFcondabinTzIncorrect condabin, swapping z to PATH)osenvironactivater	   r
   name_remove_prefix_from_pathendswithr   sysprefixprintappendpathsep_add_prefix_to_path)	r	   r
   activator_cls	activatorpnew_pfound_condabinpecondabin_paths	            6lib/python3.13/site-packages/conda/testing/__init__.pyconda_move_to_front_of_PATHr"      s>   #>77d?+M*M!O	  ..rzz./IJ B{{:&&%%)NCJJ
3r9(,SZZ(D =bTm_UV]3R( & R    ZZ__U3

6!O	))"**^*DEZZ__Q/

6W $    )
__future__r   r   r   loggingr   os.pathr   __name__logr"    r#   r!   <module>r*      s%    # 	 
  ,0r#   