def install_step(self):
     """Copy the executables to the installation directory"""
     self.log.debug("copying %s/execute to %s, (from %s)", self.cfg['start_dir'], self.installdir, os.getcwd())
     # create a /bin, this way we also get the PATH to be set correctly automatically
     bin_path = os.path.join(self.installdir, "bin")
     install_path = os.path.join(self.cfg['start_dir'], 'execute')
     copytree(install_path, bin_path)
Пример #2
0
 def install_step(self):
     """Copy the executables to the installation directory"""
     self.log.debug("copying %s/execute to %s, (from %s)",
                    self.cfg['start_dir'], self.installdir, os.getcwd())
     # create a /bin, this way we also get the PATH to be set correctly automatically
     bin_path = os.path.join(self.installdir, "bin")
     install_path = os.path.join(self.cfg['start_dir'], 'execute')
     copytree(install_path, bin_path)
Пример #3
0
    def install_step(self):
        """Install by copying files and creating group library file."""

        self.log.debug("Installing SCOTCH")

        # copy files to install dir
        regmetis = re.compile(r".*metis.*")
        try:
            for d in ["include", "lib", "bin", "man"]:
                src = os.path.join(self.cfg['start_dir'], d)
                dst = os.path.join(self.installdir, d)
                # we don't need any metis stuff from scotch!
                copytree(src, dst, ignore=lambda path, files: [x for x in files if regmetis.match(x)])

        except OSError, err:
            self.log.error("Copying %s to installation dir %s failed: %s" % (src, dst, err))
Пример #4
0
    def install_step(self):
        """Install by copying files and creating group library file."""

        self.log.debug("Installing SCOTCH")

        # copy files to install dir
        regmetis = re.compile(r".*metis.*")
        try:
            for d in ["include", "lib", "bin", "man"]:
                src = os.path.join(self.cfg['start_dir'], d)
                dst = os.path.join(self.installdir, d)
                # we don't need any metis stuff from scotch!
                copytree(src, dst, ignore=lambda path, files: [x for x in files if regmetis.match(x)])

        except OSError, err:
            raise EasyBuildError("Copying %s to installation dir %s failed: %s", src, dst, err)