summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 9ae32770..75aca8f9 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -481,6 +481,7 @@ class easy_install(Command):
) % locals()
if not self.dry_run:
+ ensure_directory(target)
f = open(target,"w")
f.write(script_text)
f.close()
@@ -489,7 +490,6 @@ class easy_install(Command):
except (AttributeError, os.error):
pass
-
def install_eggs(self, spec, dist_filename, tmpdir):
# .egg dirs or files are already built, so just return them
if dist_filename.lower().endswith('.egg'):