fix pre-Windows10 binaries

This commit is contained in:
SomberNight 2017-11-02 19:11:00 +01:00
parent f563f05fd1
commit ccb28e9823
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ for d in a.datas:
a.datas.remove(d)
break
# hotfix for #3171 (pre-Win10 binaries)
a.binaries = [x for x in a.binaries if not x[1].lower().startswith(r'c:\windows')]
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,