Mercurial > hg
comparison setup.py @ 1421:a7631cf1326a
Option -i broken in py2exe_for_demandload
Using the includes option -i on modified py2exe is
not working.
Change:
- setup.py: convert self.includes to a list.
author | Volker Kleinfeld <Volker.Kleinfeld@gmx.de> |
---|---|
date | Mon, 24 Oct 2005 14:52:30 -0700 |
parents | 0e921c164b58 |
children | a7e8408ac79c |
comparison
equal
deleted
inserted
replaced
1420:b32b3509c7ab | 1421:a7631cf1326a |
---|---|
32 self.set_undefined_options('build', | 32 self.set_undefined_options('build', |
33 ('build_lib', 'build_lib')) | 33 ('build_lib', 'build_lib')) |
34 # Sets the 'includes' option with the list of needed modules | 34 # Sets the 'includes' option with the list of needed modules |
35 if not self.includes: | 35 if not self.includes: |
36 self.includes = [] | 36 self.includes = [] |
37 else: | |
38 self.includes = self.includes.split(',') | |
37 self.includes += mercurial.packagescan.getmodules(self.build_lib, | 39 self.includes += mercurial.packagescan.getmodules(self.build_lib, |
38 'mercurial') | 40 'mercurial') |
39 self.includes += mercurial.packagescan.getmodules(self.build_lib, | 41 self.includes += mercurial.packagescan.getmodules(self.build_lib, |
40 'hgext') | 42 'hgext') |
41 build_exe.finalize_options(self) | 43 build_exe.finalize_options(self) |