aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command
diff options
context:
space:
mode:
Diffstat (limited to 'setuptools/command')
-rwxr-xr-xsetuptools/command/easy_install.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 03dd6768..7d982d89 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -666,6 +666,9 @@ class easy_install(Command):
finally:
if os.path.exists(tmpdir):
+ # workaround for http://bugs.python.org/issue24672
+ if six.PY2:
+ tmpdir = six.u(tmpdir)
rmtree(tmpdir)
def install_item(self, spec, download, tmpdir, deps, install_needed=False):