Add to analysis
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
|
|
||||||
|
import sys
|
||||||
|
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
console = True
|
console = True
|
||||||
|
|
||||||
@@ -21,10 +23,14 @@ def recurse_for_py_files(names_so_far):
|
|||||||
return returnvalue
|
return returnvalue
|
||||||
|
|
||||||
hiddenimports = []
|
hiddenimports = []
|
||||||
|
binaries = []
|
||||||
|
|
||||||
|
if sys.platform.find("windows"):
|
||||||
|
binaries.append("ucrtbase.dll")
|
||||||
|
|
||||||
a = Analysis(['DungeonRandomizer.py'],
|
a = Analysis(['DungeonRandomizer.py'],
|
||||||
pathex=[],
|
pathex=[],
|
||||||
binaries=[],
|
binaries=binaries,
|
||||||
datas=[],
|
datas=[],
|
||||||
hiddenimports=hiddenimports,
|
hiddenimports=hiddenimports,
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
@@ -35,9 +41,6 @@ a = Analysis(['DungeonRandomizer.py'],
|
|||||||
cipher=block_cipher,
|
cipher=block_cipher,
|
||||||
noarchive=False)
|
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
|
# https://stackoverflow.com/questions/17034434/how-to-remove-exclude-modules-and-files-from-pyinstaller
|
||||||
excluded_binaries = [
|
excluded_binaries = [
|
||||||
'VCRUNTIME140.dll',
|
'VCRUNTIME140.dll',
|
||||||
|
|||||||
11
Gui.spec
11
Gui.spec
@@ -26,10 +26,14 @@ def recurse_for_py_files(names_so_far):
|
|||||||
return returnvalue
|
return returnvalue
|
||||||
|
|
||||||
hiddenimports = []
|
hiddenimports = []
|
||||||
|
binaries = []
|
||||||
|
|
||||||
a = Analysis(['Gui.py'],
|
if sys.platform.find("windows"):
|
||||||
|
binaries.append("ucrtbase.dll")
|
||||||
|
|
||||||
|
a = Analysis(['DungeonRandomizer.py'],
|
||||||
pathex=[],
|
pathex=[],
|
||||||
binaries=[],
|
binaries=binaries,
|
||||||
datas=[],
|
datas=[],
|
||||||
hiddenimports=hiddenimports,
|
hiddenimports=hiddenimports,
|
||||||
hookspath=[],
|
hookspath=[],
|
||||||
@@ -40,9 +44,6 @@ a = Analysis(['Gui.py'],
|
|||||||
cipher=block_cipher,
|
cipher=block_cipher,
|
||||||
noarchive=False)
|
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
|
# https://stackoverflow.com/questions/17034434/how-to-remove-exclude-modules-and-files-from-pyinstaller
|
||||||
excluded_binaries = [
|
excluded_binaries = [
|
||||||
'VCRUNTIME140.dll',
|
'VCRUNTIME140.dll',
|
||||||
|
|||||||
Reference in New Issue
Block a user