(info, file=None)
| 1103 | |
| 1104 | |
| 1105 | def dump_info(info, file=None): |
| 1106 | title = "Python build information" |
| 1107 | print(title) |
| 1108 | print("#" * len(title)) |
| 1109 | print() |
| 1110 | |
| 1111 | infos = info.get_infos() |
| 1112 | infos = sorted(infos.items()) |
| 1113 | for key, value in infos: |
| 1114 | value = value.replace("\n", " ") |
| 1115 | print("%s: %s" % (key, value)) |
| 1116 | |
| 1117 | |
| 1118 | def main(): |