[Distutils] easy_install: --tag-svn-revision

Phillip J. Eby pje at telecommunity.com
Wed Aug 10 23:12:04 CEST 2005


At 03:08 PM 8/10/2005 -0500, Ian Bicking wrote:
>I don't think --tag-svn-revision should apply to dependencies.  Maybe it 
>should even be an error if you try to use it on a package that isn't a 
>subversion repository.

On the other hand, I don't suppose it would hurt to just ignore it if it 
doesn't apply.  I'm uneasy about dependencies, of course, but then again, 
where's the harm there either?

The biggest potential harm of --tag-svn-revision is that it makes things a 
*higher* revision number by default.  I.e. "1.2-r27" is a higher version 
number than "1.2", so if you're using a strategy where you use the *next* 
version number in your svn version of setup.py, then you're going to have 
problems when the official version is released.  In other words, if svn's 
setup.py says "1.2" is the current version, but that's the version you're 
*developing* (as opposed to enhancing), then the numbering works out wrong.



More information about the Distutils-SIG mailing list