a "eéã@sXddlmZejdkZer4ddlmZddlmZnddlmZddlmZdd„Z dS)é)Ú version_infoé)ÚStringIO)Ú lru_cachecCsLtsddl}| ||¡Sddlm}ddl}|||ƒ}| |j¡}| |¡S)zª Read and evaluate a python file This is useful when we don't know the module name beforehand and somehow figure it out at the runtime (e.g. user-defined hook files) rN)ÚSourceFileLoader) ÚPY3ÚimpÚ load_sourceZimportlib.machineryrÚtypesÚ ModuleTypeÚnameÚ exec_module)Z module_nameÚpathrrr ÚloaderZloaded©rú;/usr/lib/python3.9/site-packages/tracer/resources/pycomp.pyr s    r N) ÚsysrÚmajorrÚiorÚ functoolsrZbackports.functools_lru_cacher rrrrÚs