]> granicus.if.org Git - python/commitdiff
Ensure sub-commands of "install" are reinitialized too.
authorGreg Ward <gward@python.net>
Sat, 16 Sep 2000 15:30:47 +0000 (15:30 +0000)
committerGreg Ward <gward@python.net>
Sat, 16 Sep 2000 15:30:47 +0000 (15:30 +0000)
Run "install" the right way, by calling 'run_command()'.

Lib/distutils/command/bdist_dumb.py

index 2da9c48795aa3ec8735fbb6ed0de2f72b68b6866..afeb4ad35fef19b1c2702ab18dcdc84bf3878c78 100644 (file)
@@ -71,12 +71,11 @@ class bdist_dumb (Command):
 
         self.run_command ('build')
 
-        install = self.reinitialize_command('install')
+        install = self.reinitialize_command('install', reinit_subcommands=1)
         install.root = self.bdist_dir
 
         self.announce ("installing to %s" % self.bdist_dir)
-        install.ensure_finalized()
-        install.run()
+        self.run_command('install')
 
         # And make an archive relative to the root of the
         # pseudo-installation tree.