Disabling runtime hook #8298
-
Is there a way to disable a runtime hook? I know that this can be done with "regular" hooks but I could not find anything about runtime hooks except that they are running in a sequence before the builtin hooks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can simply delete or rename the hook file Another option could involve identifying the specific code responsible for creating the unwanted temporary files within the hook file. However, this approach may require a thorough understanding of the code and careful examination of documentation. So, deleting or renaming the hook file appears to be a more straightforward solution. |
Beta Was this translation helpful? Give feedback.
-
Apparently, it is more complex than that, there is the |
Beta Was this translation helpful? Give feedback.
Yes, deleting or renaming the hook file is the most straightforward way to disable its functionality during the PyInstaller build process.