[PATCH 1 of 4] Option -i broken in py2exe_for_demandload

VolkerKleinfeld Volker.Kleinfeld at gmx.de
Thu Sep 29 14:25:33 CDT 2005


# HG changeset patch
# User Volker Kleinfeld <Volker.Kleinfeld at gmx.de>
# Node ID 16b9ee2b044f14eac0006fb0632a1235e5c125c4
# Parent  404484c9628e055e111059348b1255851db9361b
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.

diff -r 404484c9628e -r 16b9ee2b044f setup.py
--- a/setup.py	09/23/05 10:32:19 -0700
+++ b/setup.py	09/27/05 08:13:57 +0200
@@ -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,


More information about the Mercurial mailing list