Kaydet (Commit) edc6a519 authored tarafından Greg Ward's avatar Greg Ward

Fixed to use 'reinitialize_command()' to fetch the "install" command object.

üst a1e4b05a
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment