+
    :1j                    x   R t ^ RIHt ^ RIt^ RIt^ RIHt ^ RIHt ^ RI	H
t
 ^ RIHt ^RIHt ^RIHt ^R	IHt ^R
IHt ^RIHt ]'       d   ^RIHt ]t]'       d   RMRtRtRt]'       g   RMRt]'       g   RMRt]'       g   RMRtRt ]! ]!4      t"R t# ! R R4      t$RR R llt%]PL                  3R lt'R# )z
These helpers were originally defined in tests/test_create.py,
but were refactored here so downstream projects can benefit from
them too.
)annotationsN)	getLogger)join)Path)TYPE_CHECKING)on_win)dashlist)
PrefixData)DEBUG)	MatchSpec)PrefixRecordz
python.exez
bin/pythonu   ōγђ家固한áêñßôçabcdefwhichwherecpcopyenvset c                &    V P                  R R4      # )\z\\)replace)ps   &9lib/python3.14/site-packages/conda/testing/integration.pyescape_for_winpathr   .   s    99T6""    c                  B    ] tR t^2tRtRtRtRtRtRt	Rt
RtR	tR
tRtRtR# )Commandscompareconfigcleancreateinfoinstalllistremovesearchupdaterun N)__name__
__module____qualname____firstlineno__COMPARECONFIGCLEANCREATEINFOINSTALLLISTREMOVESEARCHUPDATERUN__static_attributes__r)   r   r   r   r   2   s9    GFEFDGDFFF
Cr   r   c               (    V ^8  d   QhRRRRRRRR/# )	   prefixzstr | os.PathLike | Pathspeczstr | MatchSpecreload_recordsboolreturnzPrefixRecord | Noner)   )formats   "r   __annotate__rB   @   s0      $
  	r   c                   \        V4      p\        V R R7      pV'       d   VP                  4        \        VP	                  V4      4      pV'       g   R# \        V4      ^8  d   \        R\        R V 4       4       24      hV^ ,          # )T)interoperabilityNzMultiple packages installed.c              3  @   "   T F  qP                  4       x  K  	  R # 5i)N)dist_str).0precs   & r   	<genexpr>'package_is_installed.<locals>.<genexpr>N   s     3\P[MMOOP[s   )r   r	   loadtuplequerylenAssertionErrorr   )r<   r=   r>   prefix_dataprefix_recss   &&&  r   package_is_installedrR   @   s    
 T?DVd;K))$/0K	[	A	*83\P[3\+\*]^
 	
 1~r   c                   \         P                  R 8X  dp   \        V R4      P                  4       '       g/   \        \         P                  R4      P                  4       '       d   RMRp ^ RIHp W!,          R,          ^ ,          # \        V R4      pVP                  4       '       d   RpM# VP                  4        RpVP                  4        \         P                  R8X  d+   VR8X  d"   \        \        P                  R,          R	4      # R
# \         P                  R8X  d-   VR8X  d$   \        \        P                  R,          RRR4      # R# \!        \         P                  4      h  \         dI     ^ RIHp Y!,          R,          ^ ,          u #   \         d    ^ RIH	p Y1,          R,          u u # i ; ii ; i  \         d    Rp Li ; i)win32z	.nonadminusersystem)dirs_srcstart)dirsdarwinHOMEApplicationsz/Applicationslinuxz.localshareapplicationsz/usr/share/applications)sysplatformr   is_filer<   )menuinst.platforms.win_utils.knownfoldersrW   ImportErrormenuinst.win32rY   touchunlinkOSErrorr   osenvironNotImplementedError)prefix_for_unix	user_moderW   rY   non_admin_files   &    r   get_shortcut_dirro   T   s~   
||w _k2::<<

K088:: 
  		0J&w/22 /;7N		$  " I!!#
||x

6*N;;
||w

6*Hg~NN(
cll
++A  	003*73A66 0/w//0	0$  	! I	!sB   )E& +F< &F92FF9 F50F94F55F9<GG)T)(__doc__
__future__r   ri   r`   loggingr   os.pathr   pathlibr   typingr   common.compatr   	common.ior   core.prefix_datar	   gateways.loggingr
   models.match_specr   models.recordsr   TEST_LOG_LEVELPYTHON_BINARYUNICODE_CHARACTERSUNICODE_CHARACTERS_RESTRICTEDwhich_or_where
cp_or_copy
env_or_setSPACER_CHARACTERr*   logr   r   rR   r<   ro   r)   r   r   <module>r      s    # 	 
      "   ) $ )- &L2  (  &GTV
 Ue
  # ( &)ZZ 0,r   