[Distutils] subway setup.py failure

Kevin Dangoor dangoor at gmail.com
Wed Nov 16 19:02:16 CET 2005


setuptools thinks that "-something" after a version number means that
this is a "patchlevel" version. "2.1.0rc2" would look like a prelease,
"2.1.0-rc2" looks like a post-release patch level, and thus appears
higher than "2.1.0".

We had to explicitly exclude the "-beta" and "-rc" versions.

Kevin

On 11/16/05, Robin Becker <robin at jessikat.fsnet.co.uk> wrote:
> I'm getting this strangness from the subway setup script.
>
> Installed C:\Python\Lib\site-packages\FormEncode-0.3-py2.4.egg
> Processing dependencies for FormEncode>=0.2.2
> Searching for CherryPy>=2.1.0
> Reading http://www.python.org/pypi/CherryPy/
> Reading http://www.cherrypy.org
> Reading http://sourceforge.net/project/showfiles.php?group_id=56099
> Best match: CherryPy 2.1.0-rc2
> Downloading
> http://prdownloads.sourceforge.net/cherrypy/CherryPy-2.1.0-rc2.tar.gz?download
> error: Unexpected HTML page found at
> http://prdownloads.sourceforge.net/cherrypy/CherryPy-2.1.0-rc2.tar.gz?download
>
>
> It seems that easy_install isn't picking up from SF right now and in addition it
> hasn't noticed that the latest version is now 2.1.0.
>
> I tried a manual installation of the cherrypy  as follows
>
> C:\Tmp\subway_svn\trunk>\python\Scripts\easy_install "CherryPy==2.1.0"
> Searching for CherryPy==2.1.0
> Reading http://www.python.org/pypi/CherryPy/
> Reading http://www.cherrypy.org
> Reading http://sourceforge.net/project/showfiles.php?group_id=56099
> Best match: CherryPy 2.1.0
> Downloading
> http://prdownloads.sourceforge.net/cherrypy/CherryPy-2.1.0.win32.exe?download
> error: Unexpected HTML page found at
> http://prdownloads.sourceforge.net/cherrypy/CherryPy-2.1.0.win32.exe?download
>
> an it seems I have to try an exact download path to get things right eg
>
> C:\Tmp\subway_svn\trunk>\python\Scripts\easy_install
> http://heanet.dl.sourceforge.net/sourceforge/cherrypy/CherryPy-2.1.
> 0.tar.gz
> Downloading
> http://heanet.dl.sourceforge.net/sourceforge/cherrypy/CherryPy-2.1.0.tar.gz
> Processing CherryPy-2.1.0.tar.gz
> Running CherryPy-2.1.0\setup.py -q bdist_egg --dist-dir
> c:\temp\easy_install-uu1h8w\CherryPy-2.1.0\egg-dist-tmp-jkracy
> zip_safe flag not set; analyzing archive contents...
> cherrypy._cphttptools: module references __file__
> cherrypy.lib.autoreload: module references __file__
> cherrypy.lib.covercp: module references __file__
> cherrypy.lib.cptools: module references __file__
> cherrypy.lib.profiler: module references __file__
> cherrypy.test.test: module references __file__
> cherrypy.test.test_core: module references __file__
> cherrypy.test.test_static_filter: module references __file__
> cherrypy.tutorial.tut09_files: module references __file__
> cherrypy.tutorial.tut10_http_errors: module references __file__
> Adding CherryPy 2.1.0 to easy-install.pth file
>
> Installed C:\Python\Lib\site-packages\CherryPy-2.1.0-py2.4.egg
> Processing dependencies for CherryPy==2.1.0
> --
> Robin Becker
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: kid at blazingthings.com
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com


More information about the Distutils-SIG mailing list