Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72698cc

Browse files
committed
Remove carriage returns in setup.py long_description
Mitigates pypa/setuptools#1440
1 parent 9bca8b2 commit 72698cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import smmap
1212

1313
if os.path.exists("README.md"):
14-
long_description = codecs.open('README.md', "r", "utf-8").read()
14+
long_description = codecs.open('README.md', "r", "utf-8").read().replace('\r\n', '\n')
1515
else:
1616
long_description = "See https://github.com/gitpython-developers/smmap"
1717

0 commit comments

Comments
 (0)