From 21838f2d9af373b325d0d491416e806c0c6a3ff7 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sun, 12 Nov 2017 02:15:15 -0500 Subject: [PATCH] Fix issue with pyinstaller not bundling required DLLs when building on Windows 10 / Python >= 3.5 --- pyfa.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyfa.spec b/pyfa.spec index efebfd674..f330a16c7 100644 --- a/pyfa.spec +++ b/pyfa.spec @@ -31,7 +31,12 @@ for root, folders, files in chain.from_iterable(os.walk(path) for path in paths) import_these.append(mod_name) a = Analysis([r'C:\Users\Ryan\Sync\Git\blitzmann\Pyfa\pyfa.py'], - pathex=[r'C:\Users\Ryan\Sync\Git\blitzmann\Pyfa'], + pathex=[ + r'C:\Users\Ryan\Sync\Git\blitzmann\Pyfa', + # Need this, see https://github.com/pyinstaller/pyinstaller/issues/1566 + # To get this, download and install windows 10 SDK + # If not building on Windows 10, this might be optional + r'C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x86'], binaries=[], datas=added_files, hiddenimports=import_these,