##// END OF EJS Templates
Clean up whitespace damage.
Bryan O'Sullivan -
r1294:372971e1 default
parent child Browse files
Show More
@@ -13,13 +13,13 b' import mercurial.version'
13 13
14 14 # py2exe needs to be installed to work
15 15 try:
16 import py2exe
16 import py2exe
17 17
18 18 # Due to the use of demandload py2exe is not finding the modules.
19 # packagescan.getmodules creates a list of modules included in
19 # packagescan.getmodules creates a list of modules included in
20 20 # the mercurial package plus depdent modules.
21 import mercurial.packagescan
22 from py2exe.build_exe import py2exe as build_exe
21 import mercurial.packagescan
22 from py2exe.build_exe import py2exe as build_exe
23 23
24 24 class py2exe_for_demandload(build_exe):
25 25 """ overwrites the py2exe command class for getting the build
@@ -34,7 +34,8 b' try:'
34 34 # Sets the 'includes' option with the list of needed modules
35 35 if not self.includes:
36 36 self.includes = []
37 self.includes += mercurial.packagescan.getmodules(self.build_lib,'mercurial')
37 self.includes += mercurial.packagescan.getmodules(self.build_lib,
38 'mercurial')
38 39 build_exe.finalize_options(self)
39 40 except ImportError:
40 41 py2exe_for_demandload = None
General Comments 0
You need to be logged in to leave comments. Login now