![](https://secure.gravatar.com/avatar/6b04ee9f51db47b7be7d8084c0f5cf00.jpg?s=120&d=mm&r=g)
Hello Chris, See: from distutils.version import StrictVersion and svn://svn.zope.org/repos/main/Sandbox/adamg/zope.wineggbuilder/trunk/src/zope/wineggbuilder/build.py Friday, June 25, 2010, 11:34:59 AM, you wrote: CW> Hi All, CW> Is there any any in setuptools/distutils/anything else that I can use to CW> compare version strings using the same rules as setuptools? CW> ie: sort the following list of versions: CW> 1.0 CW> 2.0dev-r22542-20100623 CW> 2.0dev-r22553-20100624 CW> 2.0 CW> ...etc CW> cheers, CW> Chris CW> _______________________________________________ CW> Distutils-SIG maillist - Distutils-SIG@python.org CW> http://mail.python.org/mailman/listinfo/distutils-sig -- Best regards, Adam GROSZER mailto:agroszer@gmail.com -- Quote of the day: True freedom is frightful