7e8b3ec991803087e56ecedf3b70963b90cf411b,PyInstaller/hooks/hook-PyQt5.Qt.py,,,#,12
Before Change
// When PyQt5.Qt is imported it implies a certain need for a few of the
// other PyQt5 modules, but not all of them.
hiddenimports = ["sip",
"PyQt5.QtCore",
"PyQt5.QtGui",
"PyQt5.QtWidgets",
"PyQt5.QtPrintSupport"
]
After Change
// Determine the name of all these modules by looking in the PyQt5 directory.
hiddenimports = []
for f in os.listdir(os.path.dirname(get_module_file_attribute("PyQt5"))):
root, ext = os.path.splitext(os.path.basename(f))
if root.startswith("Qt") and root != "Qt":
hiddenimports.append("PyQt5." + root)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pyinstaller/pyinstaller
Commit Name: 7e8b3ec991803087e56ecedf3b70963b90cf411b
Time: 2018-04-02
Author: bjones@ece.msstate.edu
File Name: PyInstaller/hooks/hook-PyQt5.Qt.py
Class Name:
Method Name:
Project Name: GoogleCloudPlatform/cloudml-samples
Commit Name: 435560056e838c96100a0e80aee9dbbe57ea4c4f
Time: 2016-12-15
Author: joshgc@google.com
File Name: iris/trainer/util.py
Class Name:
Method Name: _copy_all
Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: d7be73a4eb0f2458752978eb58153202b6bfc2e7
Time: 2018-03-13
Author: max.lapan@gmail.com
File Name: ch18/telegram-bot.py
Class Name: PlayerBot
Method Name: _read_leaderboard