# HG changeset patch # User Bryan O'Sullivan # Date 1127334804 25200 # Node ID 372971e1c40d88455c22647cf246920eb8f6485b # Parent a6ffcebd331532a3ebafa77b42c3949561cc64c1 Clean up whitespace damage. diff -r a6ffcebd3315 -r 372971e1c40d setup.py --- a/setup.py Wed Sep 21 11:44:08 2005 -0700 +++ b/setup.py Wed Sep 21 13:33:24 2005 -0700 @@ -13,13 +13,13 @@ # py2exe needs to be installed to work try: - import py2exe + import py2exe # Due to the use of demandload py2exe is not finding the modules. - # packagescan.getmodules creates a list of modules included in + # packagescan.getmodules creates a list of modules included in # the mercurial package plus depdent modules. - import mercurial.packagescan - from py2exe.build_exe import py2exe as build_exe + import mercurial.packagescan + from py2exe.build_exe import py2exe as build_exe class py2exe_for_demandload(build_exe): """ overwrites the py2exe command class for getting the build @@ -34,7 +34,8 @@ # Sets the 'includes' option with the list of needed modules if not self.includes: self.includes = [] - self.includes += mercurial.packagescan.getmodules(self.build_lib,'mercurial') + self.includes += mercurial.packagescan.getmodules(self.build_lib, + 'mercurial') build_exe.finalize_options(self) except ImportError: py2exe_for_demandload = None