Remove unicode decode

This commit is contained in:
Steven Silvester
2014-09-27 05:59:48 -05:00
parent 75448b8579
commit 984782ee54
+1 -1
View File
@@ -32,7 +32,7 @@ from distutils.command.build_py import build_py
# These packages are sometimes installed outside of the setuptools scope
DEPENDENCIES = {}
with open('requirements.txt', 'rb') as fid:
data = fid.read().decode('utf-8', 'replace')
data = fid.read()
for line in data.splitlines():
pkg, _, version_info = line.partition('>=')
# Only require Cython if we have a developer checkout