aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/bdist_egg.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-05-29 05:19:59 +0000
committerPJ Eby <distutils-sig@python.org>2005-05-29 05:19:59 +0000
commitb75164050f0b537611c21e8824020e226ac6c39b (patch)
tree583db3ff6482a5e76ce03cc439c9fa22dca510c7 /setuptools/command/bdist_egg.py
parent70ade02753310bf976238754da2afab7c075f967 (diff)
downloadexternal_python_setuptools-b75164050f0b537611c21e8824020e226ac6c39b.tar.gz
external_python_setuptools-b75164050f0b537611c21e8824020e226ac6c39b.tar.bz2
external_python_setuptools-b75164050f0b537611c21e8824020e226ac6c39b.zip
Handle distributions with ' ' in their names
--HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041020
Diffstat (limited to 'setuptools/command/bdist_egg.py')
-rw-r--r--setuptools/command/bdist_egg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/bdist_egg.py b/setuptools/command/bdist_egg.py
index a3aeb775..25b711a4 100644
--- a/setuptools/command/bdist_egg.py
+++ b/setuptools/command/bdist_egg.py
@@ -53,7 +53,7 @@ class bdist_egg(Command):
def finalize_options (self):
- self.egg_name = self.distribution.get_name().replace('-','_')
+ self.egg_name = self.distribution.get_name().replace('-','_').replace(' ','_')
self.egg_version = self.distribution.get_version().replace('-','_')
try:
list(