setup: simplify authors list generation
commitc4ede872848d50a57041e0c1d4a7b5f52fa71357
authorPino Toscano <ptoscano@redhat.com>
Mon, 25 Sep 2023 09:59:28 +0000 (25 11:59 +0200)
committerDaniel P. Berrangé <dan-gitlab@berrange.com>
Mon, 25 Sep 2023 10:42:29 +0000 (25 10:42 +0000)
treed06e4107f0018f85b3b640f793c0941471cb3f4d
parent41363417b777208b4bf7f8f6d347cd5f3f25ed52
setup: simplify authors list generation

Use a set to collect the authors from the git output with no duplicates,
then sort the resulting set, and apply the wanted indentation.

This method is more Pythonic, using a set to avoid duplicates; applying
the indentation after the sorting makes the sorting slightly faster.

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
setup.py