[Python-checkins] python/nondist/sandbox/setuptools/setuptools/command egg_info.py, 1.1, 1.2

pje@users.sourceforge.net pje at users.sourceforge.net
Thu Jul 7 04:01:58 CEST 2005


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

Modified Files:
	egg_info.py 
Log Message:
Slightly changed the format of the generated version when you use
``--tag-build`` on the "egg_info" command, so that you can make tagged
revisions compare *lower* than the version specified in setup.py (e.g. by
using ``--tag-build=dev``).


Index: egg_info.py
===================================================================
RCS file: /cvsroot/python/python/nondist/sandbox/setuptools/setuptools/command/egg_info.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- egg_info.py	6 Jul 2005 01:37:41 -0000	1.1
+++ egg_info.py	7 Jul 2005 02:01:54 -0000	1.2
@@ -124,7 +124,7 @@
     def tagged_version(self):
         version = self.distribution.get_version()
         if self.tag_build:
-            version+='-'+self.tag_build
+            version+=self.tag_build
 
         if self.tag_svn_revision and os.path.exists('.svn'):
             version += '-%s' % self.get_svn_revision()



More information about the Python-checkins mailing list