dZddlZddlZdZdS)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. Ncd}d|D}d|D}tj|tjtjd}tj|sdStj|tj|tj dd}|s|}n|tj z|z}|tj d<dS)N)win32 pythonwincbg|],}tjtj|-S)ospathjoinsys_MEIPASS).0pywin32_ext_paths pyimod04_pywin32.py zinstall..s,pppJZcl4DEEpppcPg|]#}tj|!|$Sr)rr isdir)r r s rrzinstall..s+SSS$rw}}T?R?RSSSSrpywin32_system32PATH) r r extendrr r rappendadd_dll_directoryenvirongetpathsep)pywin32_ext_pathspywin32_system32_pathr s rinstallrs/pp^opppSS*;SSSHOO%&&&GLL7IJJ 7==. / / HOO)*** ./// :>>&$ ' 'D 9$$rz1D8BJvr)__doc__rr rrrrr s<  &&&&&r