[Distutils] comparing version strings?

Chris Withers chris at simplistix.co.uk
Fri Jun 25 11:34:59 CEST 2010


Hi All,

Is there any any in setuptools/distutils/anything else that I can use to 
compare version strings using the same rules as setuptools?

ie: sort the following list of versions:

1.0
2.0dev-r22542-20100623
2.0dev-r22553-20100624
2.0

...etc

cheers,

Chris



More information about the Distutils-SIG mailing list