Add to analysis
This commit is contained in:
@@ -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',
|
||||
|
||||
11
Gui.spec
11
Gui.spec
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user