[Distutils] [DistUtils] - Problem with versions...

Phillip J. Eby pje at telecommunity.com
Tue Nov 29 19:10:42 CET 2005

At 12:51 PM 11/29/2005 +0000, Sharky On PTNet wrote:
>    Trying to upgrade cherrypy pkg with ease_install, i notice that
>easy_install don't detect the newer version.
>    You can see that 2.1.0 is the final and not 2.1.0-rc2 in the
>sourceforge page:

The problem is that "2.1.0-rc2" > "2.1.0" > "2.1.0rc2", as "-" is most 
commonly used in versions to denote a post-release patch or port, whereas a 
plain "rc" is normally a pre-release candidate.  Use "easy_install 
CherryPy==2.1.0" to get the exact release.  (TurboGears works around this 
by depending on "CherryPy>=2.1,!=2.1-rc1,!=2.1-rc2".)

More information about the Distutils-SIG mailing list