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 | 08ee60a81e90d32f00f4ebec915fc721cce61111 (patch) | |
| tree | d1de13308929acb14efa9a90dd7381778988e23e /setuptools/command/bdist_egg.py | |
| parent | 67d42754f02fa0be2fb687f83a873da779a1c014 (diff) | |
| download | python-setuptools-bitbucket-08ee60a81e90d32f00f4ebec915fc721cce61111.tar.gz | |
Fix problem generating "eggsecutable" header if dist/ dir doesn't exist yet.
(backport from trunk)
Diffstat (limited to 'setuptools/command/bdist_egg.py')
| -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: |
