Browse Source

Merge pull request #3185 from SomberNight/win_7_8_binaries_hotfix

hotfix: pre-Windows10 binaries
3.0.x
ThomasV 7 years ago
committed by GitHub
parent
commit
d7f29374c9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      contrib/build-wine/deterministic.spec
  2. 2
      contrib/build-wine/prepare-wine.sh

3
contrib/build-wine/deterministic.spec

@ -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,

2
contrib/build-wine/prepare-wine.sh

@ -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/

Loading…
Cancel
Save