-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Using a 3.6 virtualenv, pip install breaks when installing complexity-0.9.1.
The error occurs when reading the HISTORY.rst file, with the first character of the tree diagram in the release notes for 0.4: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 2378: ordinal not in range(128)
This seems to be because the content of HISTORY.rst is UTF8, but a non-binary mode open is expecting ASCII, and so the codec errors out.
I was able to "fix" this by hacking setup.py to read HISTORY.rst in binary mode, and decode the resulting buffer as UTF8. I think that'd work for 2.7 also, although I didn't try it.
See also issue #4, which appears to report a related problem with Python 2.7.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels