summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/distutils/command/bdist_dumb.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/distutils/command/bdist_dumb.py b/Lib/distutils/command/bdist_dumb.py
index 2da9c48795..afeb4ad35f 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.