scanpypi: write every license file once
authorAsaf Kahlon <asafka7@gmail.com>
Tue, 8 Oct 2019 09:04:04 +0000 (12:04 +0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Fri, 11 Oct 2019 21:04:40 +0000 (23:04 +0200)
commit143f135833a94e973d5921a09b9791f8aa008d40
treed44b704c4a171ad13d6924462bceedb3f5748796
parent67cfae0f2650c48d3d2c3761828e9cd7d3bd3895
scanpypi: write every license file once

On some cases, when the package contains multiple license files
and some of them from the same type, the scanpypi script will write
the same license type more than once under _LICENSE.
Hence, before creating the _LICENSE variable, we'll remove every
possible duplication.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
utils/scanpypi