comparison deploy/win32/build-and-package.bat @ 692:a74515f1c6e8

Inching forward with win32 packaging
author Chris Cannam
date Mon, 10 Dec 2018 14:45:17 +0000
parents 1add6167eb3c
children b939bdac0643
comparison
equal deleted inserted replaced
691:5b3bcb2d0943 692:a74515f1c6e8
1 rem Run this from within the top-level project dir: deploy\win32\build.bat 1 rem Run this from within the top-level project dir: deploy\win32\build.bat
2 2
3 rem NB Sip build command, in sip-4.19.13 directory: c:\Python27\python.exe configure.py --sip-module PyQt5.sip --no-tools
3 rem NB PyQt5 build command, in PyQt5_gpl-5.11.3 directory: c:\Python27\python.exe configure.py --qmake=c:\qt\5.12.0\msvc2017\bin\qmake.exe --sip=c:\Python27\sip.exe --disable=QtNfc 4 rem NB PyQt5 build command, in PyQt5_gpl-5.11.3 directory: c:\Python27\python.exe configure.py --qmake=c:\qt\5.12.0\msvc2017\bin\qmake.exe --sip=c:\Python27\sip.exe --disable=QtNfc
4 5
5 set STARTPWD=%CD% 6 set STARTPWD=%CD%
6 7
7 if not exist "C:\Program Files (x86)\WiX Toolset v3.11\bin" ( 8 if not exist "C:\Program Files (x86)\WiX Toolset v3.11\bin" (
74 copy "%HGDIR%\windows\system32\msvcm90.dll" . 75 copy "%HGDIR%\windows\system32\msvcm90.dll" .
75 copy "%HGDIR%\windows\system32\msvcp90.dll" . 76 copy "%HGDIR%\windows\system32\msvcp90.dll" .
76 copy "%HGDIR%\windows\system32\msvcr90.dll" . 77 copy "%HGDIR%\windows\system32\msvcr90.dll" .
77 78
78 mkdir PyQt5 79 mkdir PyQt5
79 copy "%PYQTDIR%\..\sip.pyd" . 80 copy "%PYQTDIR%\__init__.py" PyQt5\__init__.py
80 copy "%PYQTDIR%\__init__.py" PyQt5\ 81 copy "%PYQTDIR%\Qt.pyd" PyQt5\Qt.pyd
81 copy "%PYQTDIR%\QtCore.pyd" PyQt5\ 82 copy "%PYQTDIR%\QtCore.pyd" PyQt5\QtCore.pyd
82 copy "%PYQTDIR%\QtGui.pyd" PyQt5\ 83 copy "%PYQTDIR%\QtGui.pyd" PyQt5\QtGui.pyd
83 copy "%PYQTDIR%\QtWidgets.pyd" PyQt5\ 84 copy "%PYQTDIR%\QtWidgets.pyd" PyQt5\QtWidgets.pyd
85 copy "%PYQTDIR%\sip.pyd" PyQt5\sip.pyd
84 86
85 mkdir Crypto 87 mkdir Crypto
86 mkdir Crypto\Cipher 88 mkdir Crypto\Cipher
87 mkdir Crypto\Util 89 mkdir Crypto\Util
88 90