Limiting (Remove) pyi_rth_win32comgenpy hook #8309
Replies: 1 comment 9 replies
-
If your app isn't using As for the hook... it seems that the change in On the other hand, the logic for selection of |
Beta Was this translation helpful? Give feedback.
-
The purpose of this hook is to fix an issue with old versions of
pywin32
with creating thegen_py
cache directory in thesite-packages
, nowadays this is not the case, this hook is always creating thegen_py
file even if my app is not usingwin32com
.So my question is if we can remove this hook or limit the runtime to older versions of
pywin32
?Maybe we can add something like
(I don't really know if these helper functions are available in runtime hooks, if not we can change it to something else)
I don't mind creating the PR if this solution is acceptable, I have some experience with adding hooks but not runtime hooks 😃
Beta Was this translation helpful? Give feedback.
All reactions