4c07803bccf4096b6458bb88d877b88700fa194c,PyInstaller/hooks/hook-numpy.py,,,#,22

Before Change


if is_win:
    extra_dll_locations = ["extra-dll", ".libs"]
    for location in extra_dll_locations:
        dll_glob = os.path.join(os.path.dirname(
            get_module_file_attribute("numpy")), location, "*.dll")
        if glob.glob(dll_glob):
            binaries.append((dll_glob, "."))

After Change


// Submodules PyInstaller can"t detect (probably because they"re only imported
// by extension modules which PyInstaller can"t read).
hiddenimports = ["numpy.core._dtype_ctypes"]
if is_conda:
    hiddenimports.append("six")

// Remove testing and building code and packages which are referenced throughout
// NumPy but aren"t really dependencies.
excludedimports = [
    "scipy",
    "pytest",
    "nose",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: pyinstaller/pyinstaller
Commit Name: 4c07803bccf4096b6458bb88d877b88700fa194c
Time: 2021-01-27
Author: 30940778+bwoodsend@users.noreply.github.com
File Name: PyInstaller/hooks/hook-numpy.py
Class Name:
Method Name:


Project Name: david-abel/simple_rl
Commit Name: e094970689385a75d53e2b9926b5e7e447525324
Time: 2018-04-26
Author: david_abel@brown.edu
File Name: simple_rl/tasks/grid_world/GridWorldMDPClass.py
Class Name:
Method Name: make_grid_world_from_file


Project Name: bokeh/bokeh
Commit Name: e9527915f88c9495017543a344766189d7412c51
Time: 2017-01-11
Author: azpujps@gmail.com
File Name: versioneer.py
Class Name:
Method Name: versions_from_parentdir