[Catalog-sig] [Distutils] setuptools 0.6b4 released

Bob Ippolito bob at redivi.com
Tue Jul 11 21:33:16 CEST 2006


On Jul 11, 2006, at 12:12 PM, Phillip J. Eby wrote:

> Last, but not least, the ability was added to turn off SVN revision  
> numbers
> or dates from the command line, so that you don't have to edit  
> setup.cfg in
> order to issue a release.

Would've been convenient if you said what the option was... took me a  
few minutes to figure out where to look. Presumably you're referring  
to the --no-svn-revision option?

Options for 'egg_info' command:
   --egg-base (-e)          directory containing .egg-info directories
                            (default: top of the source tree)
   --tag-svn-revision (-r)  Add subversion revision ID to version number
   --tag-date (-d)          Add date stamp (e.g. 20050528) to version  
number
   --tag-build (-b)         Specify explicit tag to add to version  
number
   --no-svn-revision (-R)   Don't add subversion revision ID [default]
   --no-date (-D)           Don't include date stamp [default]
   --tag-build (-b)         Specify explicit tag to add to version  
number


Note that tag-build shows up twice, here's a patch:

Index: setuptools/command/egg_info.py
===================================================================
--- setuptools/command/egg_info.py      (revision 50587)
+++ setuptools/command/egg_info.py      (working copy)
@@ -28,7 +28,6 @@
          ('no-svn-revision', 'R',
              "Don't add subversion revision ID [default]"),
          ('no-date', 'D', "Don't include date stamp [default]"),
-        ('tag-build=', 'b', "Specify explicit tag to add to version  
number"),
      ]
      boolean_options = ['tag-date', 'tag-svn-revision']


-bob



More information about the Catalog-sig mailing list