sdist cannot handle carriage return in description.

This commit is contained in:
Matthew Einhorn 2019-12-29 21:04:07 -05:00
parent cfa6b78f99
commit c9e5dc8602
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ LooseVersion.__eq__ = ver_equal
def get_description():
with open(join(dirname(__file__), 'README.md'), 'rb') as fileh:
return fileh.read().decode("utf8")
return fileh.read().decode("utf8").replace('\r\n', '\n')
def get_version(filename='kivy/version.py'):