--- msvccompiler.py.orig 2006-07-29 14:14:58.987787800 -0400 +++ msvccompiler.py 2006-07-29 14:14:42.745698200 -0400 @@ -241,8 +241,13 @@ for p in string.split(os.environ['path'], ';'): self.__paths.append(p) except KeyError: pass + reduced_paths = [] + for p in self.__paths: + if p not in reduced_paths: + reduced_paths.append(p) + self.__paths = reduced_paths os.environ['path'] = string.join(self.__paths, ';') self.preprocess_options = None self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GX' ,