def main():
if not DEBUG:<EOL><INDENT>signal.signal(signal.SIGINT, sigint_handler)<EOL>warnings.simplefilter('<STR_LIT:ignore>')<EOL><DEDENT>args = importlib.import_module('<STR_LIT>')<EOL>error = importlib.import_module('<STR_LIT>')<EOL>try:<EOL><INDENT>args.parse_args()()<EOL><DEDENT>except error.StagpyError as err:<EOL><INDENT>if DEBUG:<EOL><INDENT>raise<EOL><DEDENT>print('<STR_LIT>'<EOL>'<STR_LIT>',<EOL>'<STR_LIT>'<EOL>'<STR_LIT>', '<STR_LIT>',<EOL>'<STR_LIT>'.format(err.__class__.__name__, err),<EOL>sep='<STR_LIT:\n>', file=sys.stderr)<EOL>sys.exit()<EOL><DEDENT>
StagPy entry point