[Distutils] subway setup.py failure

Robin Becker robin at jessikat.fsnet.co.uk
Wed Nov 16 18:55:26 CET 2005


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


More information about the Distutils-SIG mailing list