[Python-checkins] python/nondist/sandbox/setuptools/setuptools/command bdist_egg.py, 1.8, 1.9

pje@users.sourceforge.net pje at users.sourceforge.net
Sun May 29 07:20:01 CEST 2005


Update of /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23525/setuptools/command

Modified Files:
	bdist_egg.py 
Log Message:
Handle distributions with ' ' in their names


Index: bdist_egg.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/bdist_egg.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- bdist_egg.py	28 May 2005 23:05:59 -0000	1.8
+++ bdist_egg.py	29 May 2005 05:19:59 -0000	1.9
@@ -53,7 +53,7 @@
 
 
     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(



More information about the Python-checkins mailing list