Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
winutils: remove import_pywin32_module helper
There is little point in trying to work around broken pywin32 installations on our side; if pythoncom/pywintypes cannot be imported in the given python environment as-is, the user cannot run and test their unfrozen program, either. Remove the `PyInstaller.utils.hooks.win32` module and move its only function, `get_pywin32_module_file_attribute` into `PyInstaller.utils.hooks`. The two hooks in contributed hooks repository that make use of this function are importing it from this package, anyway. Reduce the implementation into simple `get_module_attribute(name, '__file__')` call.
- Loading branch information
Showing
3 changed files
with
19 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters