Well, on a second thought is not so simple. Basically, you just need to follow the instructions on my repository <https://github.com/nicozanf/web2py-pyinstaller>, but edit the build_web2py.py file. On line 85 add the command option -F (see here <https://pyinstaller.readthedocs.io/en/stable/usage.html> for details). The problem is that I've had to exclude in the freezing process everything under the gluon folder. This was mandatory for keeping the web2py upgrade process as simple as possible (i.e. changing the web2py source files inside the ZIP file)... So, you should also manage to include that gluon folder int he final EXE file...
Anyhow, the resulting EXE will have a slow startup and no data persistence. This is not something that you expect from a web framework, isn't it? What's your purpose? Nico Il giorno mer 21 ago 2019 alle ore 18:30 mostwanted <godirao...@gmail.com> ha scritto: > Yes thats what i was thinking, how is it done? > > On Wednesday, August 21, 2019 at 3:10:27 PM UTC+2, Nico Zanferrari wrote: >> >> Do you mean a single EXE file containing everything that will be silently >> extracted in the TEMP folder everytime? This should be easy, but with slow >> startup and no persistence.... >> >> Nico >> >> Il Mer 21 Ago 2019, 11:16 mostwanted <godir...@gmail.com> ha scritto: >> >>> I was wondering, is there a way to convert web2py binaries into .exe >>> files with pyinstaller? If so what's the process? >>> >>> Regards: >>> >>> Mostwanted >>> >>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "web2py-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to web...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/web2py/8d2f5b88-e2fd-4072-bbe9-81ca729379b2%40googlegroups.com >>> <https://groups.google.com/d/msgid/web2py/8d2f5b88-e2fd-4072-bbe9-81ca729379b2%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/7796f83f-0c4e-4228-9c4f-13ba8a8da309%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/7796f83f-0c4e-4228-9c4f-13ba8a8da309%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAAE8D_DONtjbvDHtHyETVYZhvP%3DUK9b%2BVeVESqH%3D_d6ZXUjXOA%40mail.gmail.com.