Skip to content

Commit 918ee82

Browse files
authored
Add license information to setup.py (#664)
* Add license information to setup.py Fixes license specifier according to https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files This allows automatic license inspection tools like pip-licenses to correctly categorize this package. Signed-off-by: Erik Cederstrand <erik@cederstrand.dk> * Fix quotes Signed-off-by: Erik Cederstrand <erik@cederstrand.dk> * Add license information one more place Signed-off-by: Erik Cederstrand <erik@cederstrand.dk> --------- Signed-off-by: Erik Cederstrand <erik@cederstrand.dk>
1 parent 4f75288 commit 918ee82

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

python/interpret-core/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ def run(self):
136136
https://github.com/interpretml/interpret
137137
""",
138138
long_description_content_type="text/plain",
139+
license="MIT",
139140
url="https://github.com/interpretml/interpret",
140141
cmdclass={
141142
"sdist": SDistCommand,

python/interpret/setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
description="Fit interpretable models. Explain blackbox machine learning.",
3636
long_description=long_description,
3737
long_description_content_type="text/plain",
38+
license="MIT",
3839
url="https://github.com/interpretml/interpret",
3940
packages=find_packages(),
4041
classifiers=[

0 commit comments

Comments
 (0)