Skip to content

Commit acd9dd9

Browse files
committed
Set license from __init__.py
This fixes pip so it displays the correct license for the package.
1 parent 0865a4f commit acd9dd9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.py

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def run_tests(self):
5050
author=metadata['author'],
5151
author_email=metadata['email'],
5252
url=metadata['url'],
53+
license=metadata['license'],
5354
cmdclass={'test': PyTest},
5455
setup_cfg=True,
5556
)

0 commit comments

Comments
 (0)