We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Originally reported by: felixonmars (Bitbucket: felixonmars, GitHub: felixonmars)
readme_file.read() will try to use 'ascii' to decode, and thus failed. For example, set LANG=C and get this:
#!python Traceback (most recent call last): File "setup.py", line 93, in <module> long_description = readme_file.read() + '\n' + changes_file.read() File "/usr/lib/python3.3/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7330: ordinal not in range(128)
I filed a patch for the same problem to python-Levenshtein, hope it helps: ztane/python-Levenshtein#2
The text was updated successfully, but these errors were encountered:
Original comment by felixonmars (Bitbucket: felixonmars, GitHub: felixonmars):
Note: The easiest workaround I'm currently using is:
#!bash sed -i -e "s/open('\(README\|CHANGES\|CHANGES (links)\).txt')/open('\1.txt', encoding='utf8')/" setup.py
Sorry, something went wrong.
Original comment by jaraco (Bitbucket: jaraco, GitHub: jaraco):
Open readme with codecs to enable explicit encoding declaration. Fixes #144.
Felix, can you confirm that 2.1.2 fixes the issue in that environment?
It works!
Thank you Jason, for the super fast fix :)
Open readme with codecs to enable explicit encoding declaration. Fixes …
f516734
…#144.
Merge pull request #144 from MilchRatchet/main
3f6a9ad
Fixed Issue on Windows+MSYS2 with unsafe handling of CC config variable.
No branches or pull requests
Originally reported by: felixonmars (Bitbucket: felixonmars, GitHub: felixonmars)
readme_file.read() will try to use 'ascii' to decode, and thus failed. For example, set LANG=C and get this:
I filed a patch for the same problem to python-Levenshtein, hope it helps:
ztane/python-Levenshtein#2
The text was updated successfully, but these errors were encountered: