Skip to content

Commit

Permalink
Merge pull request #3185 from SomberNight/win_7_8_binaries_hotfix
Browse files Browse the repository at this point in the history
 hotfix: pre-Windows10 binaries
  • Loading branch information
ecdsa committed Nov 3, 2017
2 parents e65b995 + ccb28e9 commit d7f2937
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions contrib/build-wine/deterministic.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 0 additions & 2 deletions contrib/build-wine/prepare-wine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,4 @@ wine nsis.exe /S
#cp upx*/upx.exe .

# add dlls needed for pyinstaller:
cp $WINEPREFIX/drive_c/windows/system32/msvcp90.dll $WINEPREFIX/drive_c/python$PYTHON_VERSION/
cp $WINEPREFIX/drive_c/windows/system32/msvcm90.dll $WINEPREFIX/drive_c/python$PYTHON_VERSION/
cp $WINEPREFIX/drive_c/python$PYTHON_VERSION/Lib/site-packages/PyQt5/Qt/bin/* $WINEPREFIX/drive_c/python$PYTHON_VERSION/

0 comments on commit d7f2937

Please sign in to comment.