]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport of my checkin to rev 1.46:
authorThomas Heller <theller@ctypes.org>
Thu, 12 Jun 2003 17:29:57 +0000 (17:29 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 12 Jun 2003 17:29:57 +0000 (17:29 +0000)
Fix for sf # 749210, wininst isn't build correctly after building zip.

The problem was that subcommands were not reinitialized.

Bugfix candidate, will backport myself.

Lib/distutils/command/bdist_wininst.py

index 8b72bcba34da64e97f3f8a98c5016ec00c558278..27deda3662277bf50d34482318023b790b359980 100644 (file)
@@ -82,7 +82,7 @@ class bdist_wininst (Command):
 
         self.run_command('build')
 
-        install = self.reinitialize_command('install')
+        install = self.reinitialize_command('install', reinit_subcommands=1)
         install.root = self.bdist_dir
         install.warn_dir = 0