[Python-checkins] CVS: distutils/distutils/command bdist_dumb.py,1.12,1.13

Greg Ward python-dev@python.org
Sat, 16 Sep 2000 08:30:50 -0700


Update of /cvsroot/python/distutils/distutils/command
In directory slayer.i.sourceforge.net:/tmp/cvs-serv13262/command

Modified Files:
	bdist_dumb.py 
Log Message:
Ensure sub-commands of "install" are reinitialized too.
Run "install" the right way, by calling 'run_command()'.

Index: bdist_dumb.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/command/bdist_dumb.py,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** bdist_dumb.py	2000/09/11 00:50:37	1.12
--- bdist_dumb.py	2000/09/16 15:30:47	1.13
***************
*** 72,81 ****
          self.run_command ('build')
  
!         install = self.reinitialize_command('install')
          install.root = self.bdist_dir
  
          self.announce ("installing to %s" % self.bdist_dir)
!         install.ensure_finalized()
!         install.run()
  
          # And make an archive relative to the root of the
--- 72,80 ----
          self.run_command ('build')
  
!         install = self.reinitialize_command('install', reinit_subcommands=1)
          install.root = self.bdist_dir
  
          self.announce ("installing to %s" % self.bdist_dir)
!         self.run_command('install')
  
          # And make an archive relative to the root of the