Just for other people to know: I got a least the web.py hello world
example to run with Jython 2.5RC3 (web.py 0.32). Two changes needed to
be be done:
1) template.py #897 (the next 3 or 4 lines)
Disable check of compiled template as jython does not have the ast
module completely implemented. As far as I can see this is only needed
anyway if using the web.py templating. I want to use XSLT for
templating (via Saxon and so XSLT 2 which is not available for Python)
so this should be safe I guess?
2) application.py #648
add:
try:
mod.__file__
except AttributeError:
return
if not mod.__file__:
return
see also Jython bug #1369, seems this has to wait for Jython 2.5.1 not
to be worked around
But then it works find at least the stuff I used until now.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---