I only see one modification. Could you email me the patch? Do you see
any issue with backward compatibility?

Massimo

On Feb 26, 7:43 am, Markus Gritsch <m.grit...@gmail.com> wrote:
> Hi,
>
> I preferred having a separate web2py subdirectory on GAE instead of
> cluttering the root directory with all the files from the web2py
> distribution.  So instead of the default directory structure which
> looks like this
>
> applications/...
> gluon/...
> scripts/...
> app.yaml
> gaehandler.py
> ...
>
> I now have the following structure
>
> web2py/
>   |-- applications/...
>   |-- gluon/...
>   |-- scripts/...
>   |-- __init__.py
>   |-- gaehandler.py
>   |-- ...
> app.yaml
>
> So the root directory just contains the app.yaml file and the web2py
> folder.  To make this work two things have to be done:
>
> * Add an empty __init__.py file to the web2py folder as can be seen above.
> * Append the directory where gaehandler.py is to sys.path, so that
> import gluon.main works again:
>
> --- gaehandler_orig.py  2009-02-26 14:27:48.004400000 +0100
> +++ gaehandler.py       2009-02-26 14:06:16.936400000 +0100
> @@ -9,6 +9,7 @@
>  import pickle
>  import wsgiref.handlers
>
> +sys.path.append(os.path.dirname(__file__))
>  import gluon.main
>  import google
>
> It would be nice if these two small modifications would be made in the
> trunk to be able to run web2py from a subfolder on GAE by default.
>
> Kind regards,
> Markus
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to