diff options
| author | PJ Eby <distutils-sig@python.org> | 2005-09-03 04:37:18 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2005-09-03 04:37:18 +0000 |
| commit | b78e9f559ebb39143151179e78325a84c51d7988 (patch) | |
| tree | 69fe783fc633db9ca9e173bf3f73ea0f2f477b43 | |
| parent | b0e7e11baf41710baca13c9ec0edb445b66914d8 (diff) | |
| download | python-setuptools-git-b78e9f559ebb39143151179e78325a84c51d7988.tar.gz | |
Make sure that script target directory exists. Ordinarily it should, but
some bdist_* targets install to a pseudo-root where stuff might not exist.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041236
| -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 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'): |
