diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-18 09:30:21 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-12-18 09:30:21 -0500 |
commit | 7f89e790d228aeece7df1fda8eb6c762d772c450 (patch) | |
tree | 27503de86eec169a9935a719cdced6fdb9d6c46d | |
parent | 53e5575e11a35aaf761da56aa6728cdcd7c04ec0 (diff) | |
download | external_python_setuptools-7f89e790d228aeece7df1fda8eb6c762d772c450.tar.gz external_python_setuptools-7f89e790d228aeece7df1fda8eb6c762d772c450.tar.bz2 external_python_setuptools-7f89e790d228aeece7df1fda8eb6c762d772c450.zip |
Can't use six.u as 'c:\users' triggers unicode_escape and fails. Ref #704.
-rwxr-xr-x | setuptools/command/easy_install.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |