
                                   d Z ddlZddlZd ZdS )z
Set search path for pywin32 DLLs. Due to the large number of pywin32 modules, we use a single loader-level script
instead of per-module runtime hook scripts.
    Nc                      d} d | D             } d | D             } t           j                            |            t          j                            t           j        d          }t          j                            |          sd S t           j                            |           t          j        |           t          j	        
                    dd           }|s|}n|t          j        z   |z   }|t          j	        d<   d S )N)win32	pythonwinc                 b    g | ],}t           j                            t          j        |          -S  )ospathjoinsys_MEIPASS).0pywin32_ext_paths     pyimod04_pywin32.py
<listcomp>zinstall.<locals>.<listcomp>   s,    pppJZcl4DEEppp    c                 P    g | ]#}t           j                            |          !|$S r   )r   r	   isdir)r   r	   s     r   r   zinstall.<locals>.<listcomp>   s+    SSS$rw}}T?R?RSSSSr   pywin32_system32PATH)r   r	   extendr   r
   r   r   appendadd_dll_directoryenvirongetpathsep)pywin32_ext_pathspywin32_system32_pathr	   s      r   installr      s     /pp^opppSS*;SSSHOO%&&& GLL7IJJ7==.//  	 HOO)***
 ./// :>>&$''D 9$$rz1D8BJvr   )__doc__r   r   r   r   r   r   <module>r       s<    
 
			 



& & & & &r   