diff options
Diffstat (limited to 'admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh')
-rwxr-xr-x | admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh b/admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh index 17fbbbc7..407dd155 100755 --- a/admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh +++ b/admin/Sources/Clients/ogagent/windows/py2exe-wine-linux.sh @@ -14,7 +14,6 @@ download() { wget -nd https://www.python.org/ftp/python/2.7.14/python-2.7.14.msi -O python-2.7.msi wget -nd http://download.microsoft.com/download/7/9/6/796EF2E4-801B-4FC4-AB28-B59FBF6D907B/VCForPython27.msi wget -nd https://bootstrap.pypa.io/get-pip.py - wget -nd http://sourceforge.net/projects/pywin32/files/pywin32/Build%20221/pywin32-221.win32-py2.7.exe/download -O pywin32-install.exe wget -nd http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/py2exe-0.6.9.win32-py2.7.exe/download -O py2exe-install.exe wget -nd http://prdownloads.sourceforge.net/nsis/nsis-3.0rc1-setup.exe?download -O nsis-install.exe wget -nd http://sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.11.4/PyQt4-4.11.4-gpl-Py2.7-Qt4.8.7-x32.exe/download -O pyqt-install.exe @@ -27,32 +26,32 @@ install_python() { echo "Setting up wine prefix (using winetricks)" winetricks fi - + cd downloads echo "Installing python" $WINE msiexec /qn /i python-2.7.msi echo "Installing vc for python" $WINE msiexec /qn /i VCForPython27.msi - - echo "Installing pywin32 (needs X)" - $WINE pywin32-install.exe + echo "Installing py2exe (needs X)" $WINE py2exe-install.exe - echo "Installing pyqt" + echo "Installing pyqt (needs X)" $WINE pyqt-install.exe echo "Installing nsis (needs X?)" $WINE nsis-install.exe - + cd .. } setup_pip() { echo "Seting up pip..." $WINE C:\\Python27\\python -m pip install --upgrade pip -} +} install_packages() { - echo "Installing required packages" + echo "Installing pywin32" + $WINE C:\\Python27\\python -m pip install pywin32 + echo "Installing required packages" $WINE C:\\Python27\\python -m pip install requests $WINE C:\\Python27\\python -m pip install six # Using easy_install instead of pip to install pycrypto @@ -68,4 +67,3 @@ install_python setup_pip install_packages - |