commit c847ee5ae344f3d2283b06ccaed996442ec769e5
parent a159cc3a0645c6829238742376d96d59d520483a
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 9 Mar 2017 11:54:18 +0100
use Python 2.7.13 with Windows, and install Cryptodome
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh
@@ -1,7 +1,7 @@
#!/bin/bash
# Please update these links carefully, some versions won't work under Wine
-PYTHON_URL=http://www.python.org/ftp/python/2.7.8/python-2.7.8.msi
+PYTHON_URL=https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi
PYQT4_URL=http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.1/PyQt4-4.11.1-gpl-Py2.7-Qt4.8.6-x32.exe
PYWIN32_URL=http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/pywin32-219.win32-py2.7.exe/download
PYINSTALLER_URL=https://pypi.python.org/packages/source/P/PyInstaller/PyInstaller-2.1.zip
@@ -55,6 +55,9 @@ mv PyInstaller-2.1 $WINEPREFIX/drive_c/pyinstaller
#wget -q -O zbar.exe "http://sourceforge.net/projects/zbar/files/zbar/0.10/zbar-0.10-setup.exe/download"
#wine zbar.exe
+# install Cryptodome
+$PYTHON -m pip install pycryptodomex
+
# Install setuptools
wget -O setuptools.exe "$SETUPTOOLS_URL"
wine setuptools.exe