Skip to content

Commit 4a0ad7e

Browse files
authored
Fix description to support setuptools v59.0.0
The description metadata field is not allowed to contain newline characters. - https://setuptools.pypa.io/en/latest/history.html#v59-0-0 - pypa/setuptools#2870 This is a quick fix to ensure that the description is a single line.
1 parent f223358 commit 4a0ad7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
name='flake8-self',
88
py_modules=['flake8_self'],
99
version=__version__,
10-
description=open("README.md").readlines()[4],
10+
description=open("README.md").readlines()[4].strip().replace("\n", " "),
1111
long_description=open("README.md").read(),
1212
long_description_content_type='text/markdown',
1313
keywords='private access self linting flake8',

0 commit comments

Comments
 (0)