I offer $50 is you can do this in a couple of days:
In the web2py admin interface there is a "pack custom page" which redirects to
and has a button "download w2p".
I would like one addition button there that says "download as exe" which will do the following:
- download the latest web2py_win.zip
- unzip it (using the python API)
- copy the web2pp app in question (selected files/folders) under the unzipped web2py/applications/
- create a file routes.py under the unzipped web2py/ folder which contains
routers = dict( BASE=dict(default_application='....') )
where ... is the name of the app in question
- zips the unzip folder again with name
web2py.app.<name>.exe and downloads it
The zip/unzip should be done in RAM using the python zip module.
This is for those uses who develop on windows for window and expect the end users to run web2py locally with a single app. And yes, they exist. It would make their life easier and avoid zipping/unzipping mistakes and information leakage.
This should not take more than 10-20 lines in the admin app. It is also a good exercise.
I will only pay the first to deliver (if it works well) so post your solution in the form of a pull request on github.
Massimo