def install_bdist_direct(self, package, install_options=None): """Install a package directly !""" self._print(package, "Installing %s" % package.fname.split(".")[-1]) try: fname = utils.direct_pip_install(package.fname, python_exe=osp.join(self.target, 'python.exe'), architecture=self.architecture, verbose=self.verbose, install_options=install_options) except RuntimeError: if not self.verbose: print("Failed!") raise package = Package(fname) self._print_done()
def install_bdist_direct(self, package, install_options=None): """Install a package directly !""" self._print(package, "Installing %s" % package.fname.split(".")[-1]) try: fname = utils.direct_pip_install(package.fname, python_exe=osp.join(self.target, 'python.exe'), architecture=self.architecture, verbose=self.verbose, install_options=install_options) except RuntimeError: if not self.verbose: print("Failed!") raise package = Package(fname) self._print_done()