Ejemplo n.º 1
0
 def _install_pips(self):
     #install any need pip items
     pips = self._get_pip_list()
     if pips:
         LOG.info("Setting up %s pips (%s)" % (len(pips), ", ".join(pips.keys())))
         pip.install(pips)
         for name in pips.keys():
             self.tracewriter.pip_install(name, pips.get(name))
Ejemplo n.º 2
0
 def _install_pips(self):
     pips = self._get_pips_expanded()
     if pips:
         LOG.info("Setting up %s pips (%s)" % (len(pips), ", ".join(pips.keys())))
         #do this before install just incase it craps out half way through
         for name in pips.keys():
             self.tracewriter.pip_install(name, pips.get(name))
         #now install
         pip.install(pips, self.distro)
Ejemplo n.º 3
0
 def _install_pips(self):
     pips = self._get_pips()
     if pips:
         pip_names = set([p["name"] for p in pips])
         LOG.info("Setting up %s pips (%s)", len(pip_names), ", ".join(pip_names))
         with utils.progress_bar(INSTALL_TITLE, len(pips)) as p_bar:
             for (i, p) in enumerate(pips):
                 self.tracewriter.pip_installed(p)
                 pip.install(p, self.distro)
                 p_bar.update(i + 1)
Ejemplo n.º 4
0
 def _install_pips(self):
     pips = self._get_pips()
     if pips:
         pip_names = set([p['name'] for p in pips])
         utils.log_iterable(pip_names, logger=LOG,
             header="Setting up %s python packages" % (len(pip_names)))
         with utils.progress_bar(INSTALL_TITLE, len(pips)) as p_bar:
             for (i, p) in enumerate(pips):
                 self.tracewriter.pip_installed(p)
                 pip.install(p, self.distro)
                 p_bar.update(i + 1)
Ejemplo n.º 5
0
 def _install_pips(self):
     pips = self._get_pips()
     if pips:
         pip_names = set([p['name'] for p in pips])
         LOG.info("Setting up %s pips (%s)", len(pip_names),
                  ", ".join(pip_names))
         with utils.progress_bar(INSTALL_TITLE, len(pips)) as p_bar:
             for (i, p) in enumerate(pips):
                 self.tracewriter.pip_installed(p)
                 pip.install(p, self.distro)
                 p_bar.update(i + 1)