Skip to content

Conversation

@fkrull
Copy link
Contributor

@fkrull fkrull commented May 24, 2016

setup.py was opening webencodings/__init__.py using the system 8-bit encoding, so not UTF-8 on Windows. This change is compatible with Python 2.6 and 2.7.

setup.py Outdated
@@ -1,10 +1,12 @@
from setuptools import setup, find_packages
from io import open
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather we didn't overwrite the open built-in, because I just find that confusing.

@gsnedders
Copy link
Owner

Do we not have the same issue with LONG_DESCRIPTION, too? (really less of a problem, though, except for PyPI)

@fkrull
Copy link
Contributor Author

fkrull commented May 25, 2016

Do we not have the same issue with LONG_DESCRIPTION, too?

Ah, you're right. I missed that one. README.rst was just ASCII though so it didn't throw.

gsnedders added a commit that referenced this pull request May 31, 2016
@gsnedders
Copy link
Owner

835589f

@gsnedders gsnedders closed this May 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants