use Python 2.7.13 with Windows, and install Cryptodome

This commit is contained in:
ThomasV 2017-03-09 11:54:18 +01:00
parent a159cc3a06
commit c847ee5ae3
1 changed files with 4 additions and 1 deletions

View File

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