commit of r41856 - sandbox/trunk/setuptools/setuptools/command/egg_info.py
Author: phillip.eby Date: Fri Dec 30 17:11:35 2005 New Revision: 41856 Modified: sandbox/trunk/setuptools/setuptools/command/egg_info.py Log: 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! Modified: sandbox/trunk/setuptools/setuptools/command/egg_info.py ============================================================================== --- sandbox/trunk/setuptools/setuptools/command/egg_info.py (original) +++ sandbox/trunk/setuptools/setuptools/command/egg_info.py Fri Dec 30 17:11:35 2005 @@ -58,7 +58,7 @@ 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)
participants (1)
-
phillip.eby