Skip to content

Commit

Permalink
Test pt2 + PACKAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Mar 28, 2021
1 parent 12bc342 commit 1d52f77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ a = Analysis(['main.py'],
hiddenimports=[],
hookspath=[],
runtime_hooks=['pyinstaller_use_lib_dir.py'],
excludes=['bz2', 'decimal', 'lzma', 'multiprocessing', 'pyexpat', 'xml'],
excludes=['bz2', 'decimal', 'lzma', 'multiprocessing'],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
Expand Down
1 change: 1 addition & 0 deletions pyinstaller_use_lib_dir.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import os
import sys
sys.coinit_flags = 0
sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), "lib"))
import ctypes
ctypes.windll.kernel32.SetDllDirectoryW(os.path.join(os.path.dirname(sys.argv[0]), "lib"))

0 comments on commit 1d52f77

Please sign in to comment.