changeset 693:b939bdac0643

Add a missing package
author Chris Cannam
date Mon, 10 Dec 2018 15:04:52 +0000
parents a74515f1c6e8
children 7194ca023517
files deploy/win32/build-and-package.bat deploy/win32/easyhg.wxs
diffstat 2 files changed, 18 insertions(+), 2 deletions(-) [+]
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
--- a/deploy/win32/easyhg.wxs	Mon Dec 10 14:45:17 2018 +0000
+++ b/deploy/win32/easyhg.wxs	Mon Dec 10 15:04:52 2018 +0000
@@ -330,6 +330,17 @@
               </Component>
             </Directory>
 
+            <Directory Id="enum" Name="enum">
+              <Component
+                  Id="pyenum"
+                  Guid="e8143d4a-69c9-4f18-bdf4-2e187d6f71da">
+                <File
+                    Id="pyenuminit"
+                    Name="__init__.py"
+                    Source="enum\__init__.py" />
+              </Component>
+            </Directory>
+
             <Component
                 Id="kdiff3"
                 Guid="6BA0CB20-F426-42AB-A95A-615A4FF87752">
@@ -419,6 +430,7 @@
       <ComponentRef Id="HelperScripts"/>
       <ComponentRef Id="Qt5"/>
       <ComponentRef Id="pyqtlibs"/>
+      <ComponentRef Id="pyenum"/>
       <ComponentRef Id="hgexec"/>
       <ComponentRef Id="hglibs"/>
       <ComponentRef Id="crypto"/>