Does anyone have a suggestion for fixing the below.
web.run(urls, globals(), web.reloader, session_mw)
File "/usr/lib64/python2.5/site-packages/web/request.py", line 145,
in run
return wsgi.runwsgi(webapi.wsgifunc(webpyfunc(inp, fvars,
autoreload), *middleware))
File "/usr/lib64/python2.5/site-packages/web/wsgi.py", line 54, in
runwsgi
return httpserver.runsimple(func, validip(listget(sys.argv, 1,
'')))
File "/usr/lib64/python2.5/site-packages/web/httpserver.py", line
136, in runsimple
from wsgiserver import CherryPyWSGIServer
ImportError: No module named wsgiserver
I got the latest source from svn:
svn co http://webpy.org/svn/trunk/
cd trunk
python2.5 setup.py install
The directory "web/wsgiserver" directory is not being copied over to
the python site-packages directory. I believe that's the main
problem.
Is there a better method of installing from svn, or should I manually
copy over the files I want to the "site-packages/web" directory.
Index: setup.py
===================================================================
--- setup.py (revision 161)
+++ setup.py (working copy)
@@ -10,7 +10,7 @@
author='Aaron Swartz',
author_email='m...@aaronsw.com',
url=' http://webpy.org/',
- packages=['web'],
+ packages=['web', 'web.wsgiserver'],
long_description="Think about the ideal way to write a web
app. Write the code to make it happen.",
license="Public domain",
platforms=["any"],
John, if you apply this to your local copy, it should work fine. (You
might need to delete the MANIFEST file if one has been generated.)