Exemplo n.º 1
0
    def make_module_extra(self):
        """Add installdir to path and set CPLEX_HOME"""

        txt = Binary.make_module_extra(self)
        txt += self.moduleGenerator.prependPaths("PATH", [self.bindir])
        txt += self.moduleGenerator.setEnvironment("CPLEX_HOME", "$root/cplex")
        self.log.debug("make_module_extra added %s" % txt)
        return txt