From 7f89e790d228aeece7df1fda8eb6c762d772c450 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 18 Dec 2016 09:30:21 -0500 Subject: Can't use six.u as 'c:\users' triggers unicode_escape and fails. Ref #704. --- setuptools/command/easy_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index 7d982d89..e3b7161a 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -668,7 +668,7 @@ class easy_install(Command): if os.path.exists(tmpdir): # workaround for http://bugs.python.org/issue24672 if six.PY2: - tmpdir = six.u(tmpdir) + tmpdir = tmpdir.decode('ascii') rmtree(tmpdir) def install_item(self, spec, download, tmpdir, deps, install_needed=False): -- cgit v1.2.3