I think I figured it out. On mac the code is

import sys
path='/Applications/GoogleAppEngineLauncher.app/Contents/Resources/
GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
google/appengine/tools/appcfg.py'
sys.path.append(path)

argv=[path,'--email='+email,'--passin='+password,'update',web2py_path]
AppCfgApp(argv).Run()

Now the problem is how to figure out automatically what path is. If
you have any idea let me know.

I am trying to add a big [UPLOAD] button to admin.

Massimo

On 28 Apr, 18:54, Robin B <robi...@gmail.com> wrote:
> To add the email/password, try these switches with appcfg.py:
>
> --email=...
> --passin
>
> http://code.google.com/appengine/docs/python/tools/uploadinganapp.htm...
>
> Robin
>
> On Apr 28, 5:03 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > would somebody be able to send a piece of Python code to
> > programmatically insert google username and password and upload an app
> > into GAE?
>
> > look into how dev_appserver does it.
>
> > We could integrate this in admin. It should not be difficult.
>
> > Massimo
--~--~---------~--~----~------------~-------~--~----~
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