-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
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
Distutils produces metadata in unknown encoding #197
Comments
Original comment by jurko (Bitbucket: jurko, GitHub: jurko): I added pull request #52, generalizing the solution for this issue to more Python versions. Some more background information on this issue:
setuptools commit 1cd816bb7c933eecd9d8464e054b21c7d5daf2df works around the non-ASCII character issue for Python version 3.1. Pull request #52 applies the same workaround for Python version range [3.0 - 3.2.2>. Hope this helps. Best regards, |
Originally reported by: jaraco (Bitbucket: jaraco, GitHub: jaraco)
In Pull Request 45, Jurko observed that on Python 3.1, Python will generate the metadata files in an encoding relative to the build user's environment. Furthermore, starting with Python 3.2 but also on Python 2.6 and 2.7, the content is encoded using UTF-8.
pkg_resources
currently assumes the metadata is UTF-8, so if non-ASCII characters are present and egg_info is run on Python 3.1 or earlier, the resulting metadata will fail to load on Python 3.2+.The text was updated successfully, but these errors were encountered: