Skip to content

Commit

Permalink
Fix description to support setuptools v59.0.0
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ngnpope committed Nov 15, 2021
1 parent f223358 commit 4a0ad7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
name='flake8-self',
py_modules=['flake8_self'],
version=__version__,
description=open("README.md").readlines()[4],
description=open("README.md").readlines()[4].strip().replace("\n", " "),
long_description=open("README.md").read(),
long_description_content_type='text/markdown',
keywords='private access self linting flake8',
Expand Down

0 comments on commit 4a0ad7e

Please sign in to comment.