mirror of https://github.com/python/cpython.git
Ensure sub-commands of "install" are reinitialized too.
Run "install" the right way, by calling 'run_command()'.
This commit is contained in:
parent
47ec20757d
commit
24511d2a6e
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue