summaryrefslogtreecommitdiff
path: root/command/bdist_dumb.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-06-28 00:36:40 +0000
committerGreg Ward <gward@python.net>2000-06-28 00:36:40 +0000
commit9a02fc21cdba079187b15393495606987817c20e (patch)
tree84ee00baf1ebc6aa83a268ac630562c683b54c11 /command/bdist_dumb.py
parentecb70087dbb4512152365262d97e3879509cbec1 (diff)
downloadpython-setuptools-git-9a02fc21cdba079187b15393495606987817c20e.tar.gz
Fixed to use 'reinitialize_command()' to fetch the "install" command object.
Diffstat (limited to 'command/bdist_dumb.py')
-rw-r--r--command/bdist_dumb.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/command/bdist_dumb.py b/command/bdist_dumb.py
index 51e35e4b..f9c81fc2 100644
--- a/command/bdist_dumb.py
+++ b/command/bdist_dumb.py
@@ -58,12 +58,7 @@ class bdist_dumb (Command):
self.run_command ('build')
- # XXX don't use 'self.get_finalized_command()', because it always runs
- # 'ensure_finalized()' on the command object; we explictly want a
- # command object that has *not* been finalized, so we can set
- # options on it! (The option we set, 'root', is so that we can do
- # a proper "fake install" using this install command object.)
- install = self.distribution.get_command_obj('install')
+ install = self.reinitialize_command('install')
install.root = self.bdist_dir
self.announce ("installing to %s" % self.bdist_dir)