Logo Search packages:      
Sourcecode: rapid-spring version File versions  Download package

def rapid::gui::DownloadThread::install_single (   self,
  p,
  dep = False 
)
Install a single package and its dependencies.

Definition at line 30 of file gui.py.

                                              :
            """ Install a single package and its dependencies."""
            for d in p.dependencies:
                  self.install_single(d, True)
            if not p.installed:
                  print ['Installing: ', 'Installing dependency: '][int(dep)] + p.name
                  p.install(self)
                  print
            elif not dep:
                  print 'Already installed: ' + p.name


Generated by  Doxygen 1.6.0   Back to index