Skip to content

Commit 5d462f9

Browse files
committed
win binaries: bump python version to 3.6.6
1 parent e3d8edd commit 5d462f9

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

contrib/build-wine/build-electrum-git.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
NAME_ROOT=electrum
4-
PYTHON_VERSION=3.5.4
4+
PYTHON_VERSION=3.6.6
55

66
# These settings probably don't need any change
77
export WINEPREFIX=/opt/wine64

contrib/build-wine/deterministic.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ for i, x in enumerate(sys.argv):
1010
else:
1111
raise Exception('no name')
1212

13-
PYTHON_VERSION = '3.5.4'
13+
PYTHON_VERSION = '3.6.6'
1414
PYHOME = 'c:/python' + PYTHON_VERSION
1515

1616
home = 'C:\\electrum\\'

contrib/build-wine/prepare-wine.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ LIBUSB_FILENAME=libusb-1.0.22.7z
1313
LIBUSB_URL=https://prdownloads.sourceforge.net/project/libusb/libusb-1.0/libusb-1.0.22/$LIBUSB_FILENAME?download
1414
LIBUSB_SHA256=671f1a420757b4480e7fadc8313d6fb3cbb75ca00934c417c1efa6e77fb8779b
1515

16-
PYTHON_VERSION=3.5.4
16+
PYTHON_VERSION=3.6.6
1717

1818
## These settings probably don't need change
1919
export WINEPREFIX=/opt/wine64
@@ -86,6 +86,11 @@ echo "done"
8686

8787
wine 'wineboot'
8888

89+
# HACK to work around https://bugs.winehq.org/show_bug.cgi?id=42474#c22
90+
# needed for python 3.6+
91+
rm -f /opt/wine-stable/lib/wine/fakedlls/api-ms-win-core-path-l1-1-0.dll
92+
rm -f /opt/wine-stable/lib/wine/api-ms-win-core-path-l1-1-0.dll.so
93+
8994
cd /tmp/electrum-build
9095

9196
# Install Python

0 commit comments

Comments
 (0)