mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
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
1 changed files with 2 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue