[web2py] pack application

2012-01-09 Thread Alex
Hello, I want to pack my application from a script/command line (not running in web2py). How can I achieve this? I can compile the application with gluon.compileapp.compile_application('applications/myapp') there is gluon.admin.app_pack_compiled to pack it, but this function needs the request obj

[web2py] pack application from other script

2011-12-11 Thread Alex
I have a python deployment script where I update the build info (build nr., build date), compile the application, pack it and finally upload it to a server. The script is in a location independent of web2py. I can compile the application with: sys.path.append(web2py_dir) os.chdir(web2py_dir) impor