def _generate_requirements(self):
if not self._pip_packages:<EOL><INDENT>return<EOL><DEDENT>reqs = '<STR_LIT>'<EOL>for req in self._pip_packages:<EOL><INDENT>reqs += "<STR_LIT>".format(req)<EOL><DEDENT>reqs_include = {<EOL>'<STR_LIT>': reqs,<EOL>'<STR_LIT:target>':'<STR_LIT>',<EOL>'<STR_LIT:name>': '<STR_LIT>'}<EOL>if '<STR_LIT>' not in self._files:<EOL><INDENT>self._files['<STR_LIT>'] = [reqs_include]<EOL><DEDENT>else:<EOL><INDENT>self._files['<STR_LIT>'].append(reqs_include)<EOL><DEDENT>
Generate the info to create requirements.txt in the toookit.