Skip to content

Commit

Permalink
Fix issue twine issue with license
Browse files Browse the repository at this point in the history
Avoid reading the entire license in setup.py as this gets apparently interpreted by twine as the long description. Instead, set license simply to the name of the type of license. See discussion here: pypa/twine#454
  • Loading branch information
shaycrk committed Dec 16, 2019
1 parent 578ddc3 commit 4d486c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -59,7 +59,7 @@ def stream_requirements(fd):
'console_scripts': ['triage = triage.cli:execute'],
},
extras_require={'rq': RQ_REQUIREMENTS},
license=LICENSE_PATH.read_text(),
license="MIT License",
zip_safe=False,
keywords='triage',
classifiers=[
Expand Down

0 comments on commit 4d486c2

Please sign in to comment.