Its kinda tedious! I do not have a major purpose at all, its just that I 
came across an app called bat2exe and i tried it on one of my binaries, it 
worked but not to my satisfaction because I could not move the created 
package to other computers, the package failed to work requiring the 
original file the package was create from so I wondered if PyInstaller 
could do a better job.

Regards

Mostwanted

On Thursday, August 22, 2019 at 12:20:16 AM UTC+2, Nico Zanferrari wrote:
>
> 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 <godir...@gmail.com 
> <javascript:>> 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 web...@googlegroups.com <javascript:>.
>> 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/bae88ae0-124e-4e9e-a0a5-836d245792ff%40googlegroups.com.

Reply via email to