[web2py] Re: How to build windows binary yourself?

2011-03-27 Thread Brian M
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

[web2py] Re: How to build windows binary yourself?

2011-03-27 Thread Massimo Di Pierro
Fantastic. Yes something got out of sync. I will remove the unwanted files. On Mar 27, 2011, at 8:23 PM, Brian M wrote: 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] Re: How to build windows binary yourself?

2011-03-27 Thread Brian M
http://code.google.com/p/web2py/issues/detail?id=224 Issue created so this doesn't get lost. (script is attached if anyone wants it)

[web2py] Re: How to build windows binary yourself?

2011-03-20 Thread Brian M
OK, I've got a version that appears to build successfully - had to re-write the code to gather the list of data_files - reglob() didn't return files in expected format. It's working but currently is including a bunch of windows API files in the dist directory, so it would NOT be appropriate

Re: [web2py] Re: How to build windows binary yourself?

2011-03-20 Thread Praneeth Bodduluri
We have used http://bazaar.launchpad.net/~flavour/sahana-eden/trunk/view/head:/static/scripts/tools/standalone_exe.py To build custom exes of web2py with certain modules added in. The above works with py2exe. Recently I have been using cxfreeze with my other projects - It appears to be way more

Re: [web2py] Re: How to build windows binary yourself?

2011-03-20 Thread Brian M
Thanks Praneeth, looks like what your script builds what I've got going produce pretty much the same output (once I comment out the few extra modules you've got that I don't). 1) I notice you're using shutil to just copy the applications directory rather than passing the correct tuples to

[web2py] Re: How to build windows binary yourself?

2011-03-19 Thread Massimo Di Pierro
I do not build the windows version. I did it once last time 2 years ago. Since than I only replace the pyc files and rezip. It is possible we added some files that broke the py2exe script. Moreover I do not use windows myself. If you have fixed it and want to email a revised script I will post it.