Add to analysis

This commit is contained in:
Mike A. Trethewey
2020-03-04 01:00:33 -08:00
parent 92cec430ff
commit 5b988818b7
2 changed files with 13 additions and 9 deletions

View File

@@ -1,5 +1,7 @@
# -*- mode: python -*-
import sys
block_cipher = None
console = True
@@ -21,10 +23,14 @@ def recurse_for_py_files(names_so_far):
return returnvalue
hiddenimports = []
binaries = []
if sys.platform.find("windows"):
binaries.append("ucrtbase.dll")
a = Analysis(['DungeonRandomizer.py'],
pathex=[],
binaries=[],
binaries=binaries,
datas=[],
hiddenimports=hiddenimports,
hookspath=[],
@@ -35,9 +41,6 @@ a = Analysis(['DungeonRandomizer.py'],
cipher=block_cipher,
noarchive=False)
if sys.platform.find("windows"):
a.binaries.append("ucrtbase.dll")
# https://stackoverflow.com/questions/17034434/how-to-remove-exclude-modules-and-files-from-pyinstaller
excluded_binaries = [
'VCRUNTIME140.dll',

View File

@@ -26,10 +26,14 @@ def recurse_for_py_files(names_so_far):
return returnvalue
hiddenimports = []
binaries = []
a = Analysis(['Gui.py'],
if sys.platform.find("windows"):
binaries.append("ucrtbase.dll")
a = Analysis(['DungeonRandomizer.py'],
pathex=[],
binaries=[],
binaries=binaries,
datas=[],
hiddenimports=hiddenimports,
hookspath=[],
@@ -40,9 +44,6 @@ a = Analysis(['Gui.py'],
cipher=block_cipher,
noarchive=False)
if sys.platform.find("windows"):
a.binaries.append("ucrtbase.dll")
# https://stackoverflow.com/questions/17034434/how-to-remove-exclude-modules-and-files-from-pyinstaller
excluded_binaries = [
'VCRUNTIME140.dll',