Browse Source

use Python 2.7.13 with Windows, and install Cryptodome

283
ThomasV 8 years ago
parent
commit
c847ee5ae3
  1. 5
      contrib/build-wine/prepare-wine.sh

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

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Please update these links carefully, some versions won't work under Wine # 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 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 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 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" #wget -q -O zbar.exe "http://sourceforge.net/projects/zbar/files/zbar/0.10/zbar-0.10-setup.exe/download"
#wine zbar.exe #wine zbar.exe
# install Cryptodome
$PYTHON -m pip install pycryptodomex
# Install setuptools # Install setuptools
wget -O setuptools.exe "$SETUPTOOLS_URL" wget -O setuptools.exe "$SETUPTOOLS_URL"
wine setuptools.exe wine setuptools.exe

Loading…
Cancel
Save