diff options
author | PJ Eby <distutils-sig@python.org> | 2006-09-28 04:50:22 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2006-09-28 04:50:22 +0000 |
commit | 07a18df5a16b6df50102a0e931d7c4c91b186b48 (patch) | |
tree | d1de13308929acb14efa9a90dd7381778988e23e | |
parent | c542669d4d7a6a2ee3a797a14362eef2a69ed089 (diff) | |
download | external_python_setuptools-07a18df5a16b6df50102a0e931d7c4c91b186b48.tar.gz external_python_setuptools-07a18df5a16b6df50102a0e931d7c4c91b186b48.tar.bz2 external_python_setuptools-07a18df5a16b6df50102a0e931d7c4c91b186b48.zip |
Fix problem generating "eggsecutable" header if dist/ dir doesn't exist yet.
(backport from trunk)
--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052024
-rw-r--r-- | setuptools/command/bdist_egg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/bdist_egg.py b/setuptools/command/bdist_egg.py index 1f768e82..f7128fd1 100644 --- a/setuptools/command/bdist_egg.py +++ b/setuptools/command/bdist_egg.py @@ -319,13 +319,13 @@ class bdist_egg(Command): ) % locals() if not self.dry_run: + mkpath(os.path.dirname(self.egg_output), dry_run=self.dry_run) f = open(self.egg_output, 'w') f.write(header) f.close() return 'a' - def copy_metadata_to(self, target_dir): prefix = os.path.join(self.egg_info,'') for path in self.ei_cmd.filelist.files: |