def generate_requirements_files(self, base_dir='<STR_LIT:.>'):
print("<STR_LIT>")<EOL>shared = self._get_shared_section()<EOL>requirements_dir = self._make_requirements_directory(base_dir)<EOL>for section in self.config.sections():<EOL><INDENT>if section == '<STR_LIT>':<EOL><INDENT>continue<EOL><DEDENT>requirements = {}<EOL>for option in self.config.options(section):<EOL><INDENT>requirements[option] = self.config.get(section, option)<EOL><DEDENT>if not requirements:<EOL><INDENT>continue<EOL><DEDENT>filename = os.path.join(requirements_dir, '<STR_LIT>' % section)<EOL>self._write_requirements_file(shared, section, requirements, filename)<EOL><DEDENT>
Generate set of requirements files for config