diff deploy/win32/build-and-package.bat @ 693:b939bdac0643

Add a missing package
author Chris Cannam
date Mon, 10 Dec 2018 15:04:52 +0000
parents a74515f1c6e8
children 11e9454800cc
line wrap: on
line diff
--- a/deploy/win32/build-and-package.bat	Mon Dec 10 14:45:17 2018 +0000
+++ b/deploy/win32/build-and-package.bat	Mon Dec 10 15:04:52 2018 +0000
@@ -28,8 +28,9 @@
 set ORIGINALPATH=%PATH%
 set PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin;%PATH%
 set CRTDIR=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.15.26706\x64\Microsoft.VC141.CRT
-set PYQTDIR=C:/Python27/Lib/site-packages/PyQt5/
-set PYCRYPTODIR=C:/Python27/Lib/site-packages/Crypto/
+set PYPACKAGEDIR=C:/Python27/Lib/site-packages
+set PYQTDIR=%PYPACKAGEDIR%/PyQt5/
+set PYCRYPTODIR=%PYPACKAGEDIR%/Crypto/
 set NAME=Open Source Developer, Christopher Cannam
 
 set ARG=%1
@@ -84,6 +85,9 @@
 copy "%PYQTDIR%\QtWidgets.pyd" PyQt5\QtWidgets.pyd
 copy "%PYQTDIR%\sip.pyd" PyQt5\sip.pyd
 
+mkdir enum
+copy "%PYPACKAGEDIR%\enum\__init__.py" enum\__init__.py
+
 mkdir Crypto
 mkdir Crypto\Cipher
 mkdir Crypto\Util