summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-09-16 15:30:47 (GMT)
committerGreg Ward <gward@python.net>2000-09-16 15:30:47 (GMT)
commit24511d2a6ed7d79bfd8f67b67c7b4fb7449b19f1 (patch)
tree4b2d928ba2d54961891294a5290f1a39566f2fbd /Lib
parent47ec20757d5fed3e7af19d722fbb137a4c8f9e9a (diff)
downloadcpython-24511d2a6ed7d79bfd8f67b67c7b4fb7449b19f1.zip
cpython-24511d2a6ed7d79bfd8f67b67c7b4fb7449b19f1.tar.gz
cpython-24511d2a6ed7d79bfd8f67b67c7b4fb7449b19f1.tar.bz2
Ensure sub-commands of "install" are reinitialized too.
Run "install" the right way, by calling 'run_command()'.
Diffstat (limited to 'Lib')
-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 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.