[Distutils] comparing version strings?

Chris Withers chris at simplistix.co.uk
Fri Jun 25 14:35:34 CEST 2010


Alexis Métaireau wrote:
> Chris,
> 
> You also can use the distutils2.version module. I've documented them in 
> my fork [1], waiting to be merged upstream for now, but the codebase of 
> the first (alpha) release of distutils2 [2] ship with the 
> distutils2.version module.

Yes, this is good, but since we're using setuptools, I *really* want to 
compare versions in exactly the same way that it does, for better or 
worse...

I guess I need to go and read the setuptools source, unless anyone has 
some easy answers for me?

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
             - http://www.simplistix.co.uk


More information about the Distutils-SIG mailing list