What is your full name? I will add your name to developers as expert
on py2exe.

Massimo

On May 17, 12:00 am, Iceberg <[email protected]> wrote:
> Hi Massimo,
>
> Some issues and fixes.
>
> 1. We still need to change web2py.py to get rid of the __file__ (at least 
> when using py2exe), otherwise a web2py.exe will be generated but it just 
> won't work.
>
> 2. I changed import_all.py a little. Get rid of the "os.path" cause it is 
> really redundant and causing trouble. Besides, the "json" and 
> "multiprocessing" are only needed when under python 2.6. Eventually, the 
> setup_exe.py needs no "excluded_modules" anymore.
>
> 3. This line in setup_exe.py is also modified.
>   'dest_base':'web2py_no_console',#MUST NOT be just 'web2py' otherwise it 
> overrides the standard web2py.exe
> This way, both a with and without console versions are built. Most users 
> still use the standard web2py.exe, yet some can benefit from the 
> web2py_without_console.exe when needed.
>
> After above three steps, py2exe can generate workable  EXE package for me. 
> Again my environment does not have some optional modules such as win32 and 
> mysql, so you'd better have a test on your official windows building machine. 
> But at very least, you can still "manually" copy the above *.pyc AND THE TWO 
> web2py*.exe to replace those in current web2py_win.zip
>
> 4. About setup_app.py, I just modified some typo (those "w2p"s). But that 
> seems not relevant to your problem, and I don't have a mac for debug. Sorry 
> can't help you much here.
>
> Best regards,
>                             Iceberg, 2009-May-17, 12:40(PM), Sun
>
> ----------------------- Original Message -----------------------
> From:    mdipierro <[email protected]> Sender: [email protected]
> To:      web2py Web Framework <[email protected]>
> Date:    Sat, 16 May 2009 21:06:13 -0700 (PDT)
> Subject: [web2py:22004] Re: Can't get web2py to run as Windows service
>
> -------------------
>
> > I posted your modification in trunk but I made a minor change and I
> > could not test it since I do not have a windows machine available.
> > Could you please check that I did no break it?
>
> > I also attempted a new setup_app.py version but does not work for me.
>
>
>
>  web2py.py
> < 1KViewDownload
>
>  import_all.py
> 6KViewDownload
>
>  setup_exe.py
> < 1KViewDownload
>
>  setup_app.py
> < 1KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to