I think you don't need that a install script for web2py I would recommend
1. Create from your panel an application:
- category: mod_wsgi
- type: mod_wsgi 3.2 / python2.6
2. Use mod_wsgi deployment recipes
http://web2py.com/book/default/chapter/11#mod_wsgi
<http://web2py.com/book/default/chapter/11#mod_wsgi>notes:
- don't forget to use the port of your application (webfaction app that you
just created) when configuring httpd.conf

