Distutils produces metadata in unknown encoding #197
Closed
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, |
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: