2bbfac921181a1d1b899cf4a93dcb74491a6a22b,PyInstaller/hooks/hook-webview.py,,,#,22

Before Change


    if library:
        datas = [(library, ".")]
    else:
        for sitepack in getsitepackages():
            library = join(sitepack, "lib", dll_name)
            if exists(library):
                datas = [(library, ".")]
        if not datas:
            raise Exception(dll_name + " not found")

After Change



from PyInstaller.utils.hooks import collect_data_files, collect_dynamic_libs

datas = collect_data_files("webview", "lib")
binaries = collect_dynamic_libs("webview")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: 2bbfac921181a1d1b899cf4a93dcb74491a6a22b
Time: 2019-07-15
Author: Oracizan@users.noreply.github.com
File Name: PyInstaller/hooks/hook-webview.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: fe0911772f297b4b40b84af22f57de374aae13fd
Time: 2020-05-14
Author: bjones@ece.msstate.edu
File Name: PyInstaller/hooks/hook-astropy.py
Class Name:
Method Name:


Project Name: pyinstaller/pyinstaller
Commit Name: 39065cdaff16a4e446e993d1662cf0fcada68b67
Time: 2015-09-09
Author: mzibr.public@gmail.com
File Name: PyInstaller/hooks/hook-enchant.py
Class Name:
Method Name: