From 24511d2a6ed7d79bfd8f67b67c7b4fb7449b19f1 Mon Sep 17 00:00:00 2001 From: Greg Ward Date: Sat, 16 Sep 2000 15:30:47 +0000 Subject: Ensure sub-commands of "install" are reinitialized too. Run "install" the right way, by calling 'run_command()'. --- Lib/distutils/command/bdist_dumb.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Lib/distutils/command/bdist_dumb.py b/Lib/distutils/command/bdist_dumb.py index 2da9c48..afeb4ad 100644 --- a/Lib/distutils/command/bdist_dumb.py +++ b/Lib/distutils/command/bdist_dumb.py @@ -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. -- cgit v0.12