Skip to content

Commit

Permalink
[#370] Removed DisplayCAL.setup.numpy_dll_paths_fix() as this is do…
Browse files Browse the repository at this point in the history
…ing nothing.
  • Loading branch information
eoyilmaz committed Oct 9, 2024
1 parent 3f8d0ee commit 40162b0
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions DisplayCAL/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -1745,20 +1745,6 @@ def isSystemDLL(pathname):

py2exe.build_exe.isSystemDLL = isSystemDLL

# Numpy DLL paths fix
def numpy_dll_paths_fix():
import numpy

paths = set()
numpy_path = numpy.__path__[0]
for dirpath, dirnames, filenames in os.walk(numpy_path):
for item in filenames:
if item.lower().endswith(".dll"):
paths.add(dirpath)
sys.path.extend(paths)

numpy_dll_paths_fix()


if __name__ == "__main__":
setup()

0 comments on commit 40162b0

Please sign in to comment.