Skip to content

Commit b37aaaf

Browse files
committed
[setup] Fix README PyPI display hickup
When adding the license text to the setup.py license attribute, the content of the description will no longer be displayed on PyPI.
1 parent 6bd6034 commit b37aaaf

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
with open('README.rst') as f:
1414
description_text = f.read()
1515

16-
with open("LICENSE") as f:
17-
license_text = f.read()
18-
1916
install_req = ["lxml", "pyyaml"]
2017
if sys.version_info < (3, 4):
2118
install_req += ["enum34"]
@@ -32,5 +29,5 @@
3229
install_requires=install_req,
3330
long_description=description_text,
3431
classifiers=CLASSIFIERS,
35-
license=license_text
32+
license="BSD"
3633
)

0 commit comments

Comments
 (0)