()
| 76 | |
| 77 | |
| 78 | def generate_credits(): |
| 79 | text = subprocess.check_output(['git', 'shortlog', '--summary']) |
| 80 | lines = text.decode('utf8').split('\n') |
| 81 | contributors = [line.split('\t', 1)[1].strip() for line in lines if line] |
| 82 | contributors.sort(key=locale.strxfrm) |
| 83 | with open('credits.rst', 'w') as f: |
| 84 | f.write(TEMPLATE.format(contributors=',\n'.join(contributors))) |
| 85 | |
| 86 | |
| 87 | if __name__ == '__main__': |
no test coverage detected
searching dependent graphs…