Massimo,

I'll be emailing you a revised script based off of Praneeth's 
standalone_exe.py shortly. I decided to make it a bit more interactive

Features:
1) Creates web2py.exe with py2exe
2) Offers to remove the Windows DLLs that py2exe includes but are likely to 
have licensing issues.
3) Offers to let user decide if they want to include their applications (if 
not still includes admin app)
4) Offers to let user decide if they want to include their site-packages & 
scripts sub-folders (in case they've stuck needed modules there)
5) Offers to create a zip file of the build
6) If the zip file was make offers to clean up after itself (remove build, 
deposit & dist folders)

I've tested this on my Win7 box with Python 2.6 and it would appear to work 
as desired though I'll have to try running the resulting exe on some 
computers that have never seen python sometime next week.

As a side not, while doing a diff I noticed that the example app included in 
the official web2py_win.zip includes a bunch of extra files in 
applications/example/static that are not in the source distribution. They're 
almost all epydoc & sphinx files. Is there a reason for this or has 
something gotten out of sync?

Reply via email to