From bd2aeff04dbe4751fbc084898f954aad7c5d560d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 11 May 2011 17:24:20 -0600 Subject: [PATCH] Fix #780804 (not found gdbm on Windows in 0.8.0 and Japanese) --- setup/resources.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/resources.py b/setup/resources.py index 84ff136371..1501e28017 100644 --- a/setup/resources.py +++ b/setup/resources.py @@ -9,7 +9,7 @@ __docformat__ = 'restructuredtext en' import os, cPickle, re, anydbm, shutil, marshal, zipfile, glob from zlib import compress -from setup import Command, basenames, __appname__ +from setup import Command, basenames, __appname__, iswindows def get_opts_from_parser(parser): def do_opt(opt): @@ -128,7 +128,7 @@ class Resources(Command): if not os.path.exists(base): os.makedirs(base) - if self.newer(dest, src): + if self.newer(dest, src) or iswindows: self.info('\tGenerating Kanwadict') for line in open(src, "r"):