From acd9dd918f76fd3df4f2fbd1da8e456f0766d9fe Mon Sep 17 00:00:00 2001 From: Carlos Corbacho Date: Sat, 3 Apr 2021 19:47:42 +0100 Subject: [PATCH] Set license from __init__.py This fixes pip so it displays the correct license for the package. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 144f0e5..d309969 100644 --- a/setup.py +++ b/setup.py @@ -50,6 +50,7 @@ if __name__ == '__main__': author=metadata['author'], author_email=metadata['email'], url=metadata['url'], + license=metadata['license'], cmdclass={'test': PyTest}, setup_cfg=True, )