zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
U
W±d+    ã@s(dZddlZddlmZmZdd„ZdS)a
`distutils`-specific pre-find module path hook.
 
When run from within a virtual environment, this hook changes the `__path__` of the `distutils` package to
that of the system-wide rather than virtual-environment-specific `distutils` package. While the former is suitable for
freezing, the latter is intended for use _only_ from within virtual environments.
 
NOTE: this behavior seems to be specific to virtual environments created by (an old?) version of `virtualenv`; it is not
applicable to virtual environments created by the `venv`.
éN)ÚloggerÚget_module_file_attributecCstt tdƒ¡j ¡}t tdƒ¡jj ¡}|jdkr@t d¡n0||krTt d¡nt|ƒ}t d|¡|g|_    dS)NÚopcodeÚ    distutilsÚ
setuptoolsz!distutils: provided by setuptoolszdistutils: provided by stdlibz9distutils: virtualenv shim - retargeting to stdlib dir %r)
ÚpathlibÚPathrÚparentÚresolveÚnamerÚdebugÚstrZ search_dirs)ÚapiZ stdlib_pathZdistutils_path©rúld:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\PyInstaller/hooks/pre_find_module_path/hook-distutils.pyÚpre_find_module_paths
   r)Ú__doc__rZPyInstaller.utils.hooksrrrrrrrÚ<module> s