diff options
author | PJ Eby <distutils-sig@python.org> | 2005-12-30 16:11:35 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-12-30 16:11:35 +0000 |
commit | 839a5f3185aa83187c66a2f190f3daab36803a5f (patch) | |
tree | 9fbc384c1c9316202c62e48217c12d36ef52c128 | |
parent | 199f4f67ed81ef2f4fa3130bc6be0654e0d6dfd8 (diff) | |
download | external_python_setuptools-839a5f3185aa83187c66a2f190f3daab36803a5f.tar.gz external_python_setuptools-839a5f3185aa83187c66a2f190f3daab36803a5f.tar.bz2 external_python_setuptools-839a5f3185aa83187c66a2f190f3daab36803a5f.zip |
Fix unescaped '-' in .egg-info directory names. Note that this means
you must rename any existing .egg-info directory inside a project that
has a '-' in it!
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041856
-rwxr-xr-x | setuptools/command/egg_info.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py index 1c5ed53a..9d39b79b 100755 --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -58,7 +58,7 @@ class egg_info(Command): self.egg_base = (dirs or {}).get('',os.curdir) self.ensure_dirname('egg_base') - self.egg_info = self.egg_name+'.egg-info' + self.egg_info = self.egg_name.replace('-','_')+'.egg-info' if self.egg_base != os.curdir: self.egg_info = os.path.join(self.egg_base, self.egg_info) |