utils/scanpypi: handle underscores in python packages
authorJames Hilliard <james.hilliard1@gmail.com>
Sun, 24 Feb 2019 03:01:36 +0000 (11:01 +0800)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 1 Mar 2019 11:37:48 +0000 (12:37 +0100)
commitf13b843e710b570f77abd13ea990f61fe2800f52
treec143c2315068d75c3fd69a5c9a78437ab579e261
parenta21212fb7cf4868b2f00d1aa22861f6103fab979
utils/scanpypi: handle underscores in python packages

Some python packages seem to use underscores in inconsistent ways.  We can
attempt to normalize these by always using dashes for the buildroot name and
attempting to autodetect the correct metadata name format.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
utils/scanpypi