Option -i broken in py2exe_for_demandload
authorVolker Kleinfeld <Volker.Kleinfeld@gmx.de>
Mon, 24 Oct 2005 14:52:30 -0700
changeset 1421 a7631cf1326a
parent 1420 b32b3509c7ab
child 1422 a7e8408ac79c
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.
setup.py
--- a/setup.py	Mon Oct 24 14:34:48 2005 -0700
+++ b/setup.py	Mon Oct 24 14:52:30 2005 -0700
@@ -34,6 +34,8 @@
             # Sets the 'includes' option with the list of needed modules
             if not self.includes:
                 self.includes = []
+            else:
+                self.includes = self.includes.split(',')
             self.includes += mercurial.packagescan.getmodules(self.build_lib,
                                                               'mercurial')
             self.includes += mercurial.packagescan.getmodules(self.build_lib,