Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Distutils produces metadata in unknown encoding #197
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.
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.