Ensure sub-commands of "install" are reinitialized too.

Run "install" the right way, by calling 'run_command()'.
This commit is contained in:
Greg Ward 2000-09-16 15:30:47 +00:00
parent 47ec20757d
commit 24511d2a6e
1 changed files with 2 additions and 3 deletions

View File

@ -71,12 +71,11 @@ def run (self):
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.