Set license from __init__.py

This fixes pip so it displays the correct license for the package.
This commit is contained in:
Carlos Corbacho 2021-04-03 19:47:42 +01:00
parent 0865a4f54f
commit acd9dd918f

View file

@ -50,6 +50,7 @@ if __name__ == '__main__':
author=metadata['author'], author=metadata['author'],
author_email=metadata['email'], author_email=metadata['email'],
url=metadata['url'], url=metadata['url'],
license=metadata['license'],
cmdclass={'test': PyTest}, cmdclass={'test': PyTest},
setup_cfg=True, setup_cfg=True,
) )