From 8538079882032ec3b1b4b59cd3e7eab859d57c5d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 21 Dec 2012 00:34:36 +0530 Subject: [PATCH] Windows build: Fix a regression in 0.9.9 that caused calibre to not start on some windows system that were missing the VC.90 dlls (some older XP systems) --- setup/installer/windows/freeze.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/installer/windows/freeze.py b/setup/installer/windows/freeze.py index d2ee528e22..c420e867d7 100644 --- a/setup/installer/windows/freeze.py +++ b/setup/installer/windows/freeze.py @@ -102,7 +102,8 @@ class Win32Freeze(Command, WixMixIn): repl_pat = re.compile( r'(?is).*?Microsoft\.VC\d+\.CRT.*?') - for dll in glob.glob(self.j(self.dll_dir, '*.dll')): + for dll in (glob.glob(self.j(self.dll_dir, '*.dll')) + + glob.glob(self.j(self.plugins_dir, '*.pyd'))): bn = self.b(dll) with open(dll, 'rb') as f: raw = f.read()