def activation_shell_code(self, shell=None):
from rez.shells import create_shell<EOL>from rez.rex import RexExecutor<EOL>executor = RexExecutor(interpreter=create_shell(shell),<EOL>parent_variables=["<STR_LIT>"],<EOL>shebang=False)<EOL>executor.env.PATH.append(self.tools_path)<EOL>return executor.get_output().strip()<EOL>
Get shell code that should be run to activate this suite.