Commit 8e7eabf1 authored by PJ Eby's avatar PJ Eby

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``).

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041086
parent 87cf6767
......@@ -124,7 +124,7 @@ class egg_info(Command):
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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment