mirror of https://github.com/kivy/kivy.git
sdist cannot handle carriage return in description.
This commit is contained in:
parent
cfa6b78f99
commit
c9e5dc8602
2
setup.py
2
setup.py
|
@ -44,7 +44,7 @@ LooseVersion.__eq__ = ver_equal
|
||||||
|
|
||||||
def get_description():
|
def get_description():
|
||||||
with open(join(dirname(__file__), 'README.md'), 'rb') as fileh:
|
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'):
|
def get_version(filename='kivy/version.py'):
|
||||||
|
|
Loading…
Reference in New Issue