Re: [Python-ideas] Calling python from C completely statically

2018-07-09 Thread Alberto Garcia
also has a way to split out the .SO/.DLL files from the ZIP and > allow them to be loaded. Single EXE mode. > > There are docs that explain how it works in the sources. > > Barry > > > > On 9 Jul 2018, at 19:40, Alberto Garcia wrote: > > Does the zip need to reside in dis

Re: [Python-ideas] Calling python from C completely statically

2018-07-09 Thread Alberto Garcia
Does the zip need to reside in disk to be loaded. Or can it be loaded from memory? I don't want it to be loaded from disk but from Memory On Mon, Jul 9, 2018 at 9:59 AM Alberto Garcia wrote: > O I guess you mean this: > > https://github.com/anthony-tuininga/cx_Freeze/bl

Re: [Python-ideas] Calling python from C completely statically

2018-07-09 Thread Alberto Garcia
O I guess you mean this: https://github.com/anthony-tuininga/cx_Freeze/blob/master/source/bases/Common.c Right? On Mon, Jul 9, 2018 at 9:48 AM Alberto Garcia wrote: > Thank you for your response, > > I was thinking on creating that zip file with the content of the Lib

Re: [Python-ideas] Calling python from C completely statically

2018-07-09 Thread Alberto Garcia
approach what do you mean? Can you point me to where they do that? And why changing sys.path again to the executable again? Which part of the executable? I'll put my efforts in this. Thank you On Mon, Jul 9, 2018 at 7:16 AM Nick Coghlan wrote: > On 9 July 2018 at 03:10, Alberto Garcia wr

[Python-ideas] Calling python from C completely statically

2018-07-08 Thread Alberto Garcia
Hi, I've been working for a while on having the entire python interpreter with all his modules statically linked in a binary that can be called with arbitrary argument which will be passed to the python interpreter. I've been able to statically compile Python in a single binary with no