aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-07-07 02:01:54 +0000
committerPJ Eby <distutils-sig@python.org>2005-07-07 02:01:54 +0000
commit8e7eabf110643907fd1f1979d0674cf615268124 (patch)
tree8041df88420f3c2326481fccea16a188b95299e2
parent87cf6767cf525bc6770b9317ce4b5f30c745dcf8 (diff)
downloadexternal_python_setuptools-8e7eabf110643907fd1f1979d0674cf615268124.tar.gz
external_python_setuptools-8e7eabf110643907fd1f1979d0674cf615268124.tar.bz2
external_python_setuptools-8e7eabf110643907fd1f1979d0674cf615268124.zip
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
-rwxr-xr-xsetuptools/command/egg_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index b35e1956..0223becb 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -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()