diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-27 20:03:35 -0500 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2016-12-27 20:03:35 -0500 |
commit | b21c0938bb2c393445404c1f4b4044dc51b7281a (patch) | |
tree | b91fef8d38e1b6e38ab7cc0c1ff0b7f0eb88dedc /setup.py | |
parent | 90534e4d715f19cedce15b279ae14e1d87ac07c0 (diff) | |
download | python-coveragepy-git-b21c0938bb2c393445404c1f4b4044dc51b7281a.tar.gz |
Fix installation in ascii-default environments. #540
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -46,8 +46,8 @@ with open(cov_ver_py) as version_file: with open("README.rst") as readme: long_description = readme.read().replace("http://coverage.readthedocs.io", __url__) -with open("CONTRIBUTORS.txt") as contributors: - paras = contributors.read().split("\n\n") +with open("CONTRIBUTORS.txt", "rb") as contributors: + paras = contributors.read().split(b"\n\n") num_others = len(paras[-1].splitlines()) num_others += 1 # Count Gareth Rees, who is mentioned in the top paragraph. |