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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
contrib/build-wine/deterministic.spec
-
contrib/build-wine/prepare-wine.sh
|
@ -61,6 +61,9 @@ for d in a.datas: |
|
|
a.datas.remove(d) |
|
|
a.datas.remove(d) |
|
|
break |
|
|
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) |
|
|
pyz = PYZ(a.pure) |
|
|
exe = EXE(pyz, |
|
|
exe = EXE(pyz, |
|
|
a.scripts, |
|
|
a.scripts, |
|
|
|
@ -111,6 +111,4 @@ wine nsis.exe /S |
|
|
#cp upx*/upx.exe . |
|
|
#cp upx*/upx.exe . |
|
|
|
|
|
|
|
|
# add dlls needed for pyinstaller: |
|
|
# 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/ |
|
|
cp $WINEPREFIX/drive_c/python$PYTHON_VERSION/Lib/site-packages/PyQt5/Qt/bin/* $WINEPREFIX/drive_c/python$PYTHON_VERSION/ |
|
|