Commit b822e86d authored by Mehdi Abaakouk's avatar Mehdi Abaakouk

Revert "Ensure that tmpdir is unicode. Fixes #704."

This reverts commit 85794957.

As we can see on https://github.com/pypa/setuptools/issues/709,
this breaks many things (easy_install C extensions, all py3.5 tests,
run with LANG=C).

So instead of fixing in a hurry all new bugs due to this, I propose to
revert this commit until all downsides of this change have been
investigated.

Related bug: https://github.com/pypa/setuptools/issues/709
Related bug: https://github.com/pypa/setuptools/issues/710
Related bug: https://github.com/pypa/setuptools/issues/712
parent f9b2902f
...@@ -627,7 +627,7 @@ class easy_install(Command): ...@@ -627,7 +627,7 @@ class easy_install(Command):
) )
def easy_install(self, spec, deps=False): def easy_install(self, spec, deps=False):
tmpdir = tempfile.mkdtemp(prefix=six.u("easy_install-")) tmpdir = tempfile.mkdtemp(prefix="easy_install-")
if not self.editable: if not self.editable:
self.install_site_py() self.install_site_py()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment