The set of apps is laid out like this:
app/
main.py
... other .py files ...
subapp1/
subapp1.py
... other .py files ...
subapp2/
subapp2.py
... other .py files ...
We want (in one directory):
main.exe
subapp1.exe
subapp2.exe
... shared DLLs ... (msgpack, zmq, etc)
... etc ...
where main.exe will execute subapp1.exe and subapp2.exe at runtime.
main.exe and the two subapps share a lot of libraries like pyzmq, msgpack,
etc.
subapp1.py and subapp2.py are never imported by main.py - they are always
sep. processes.
There are no dynamic imports.
We would like one-dir bundling.
-Don
On Friday, May 3, 2013 8:24:57 AM UTC-7, davecortesi wrote:
>
> Jared said,
>
> There is a main.py that is the top
> level executable, but it needs to be able to launch all of the other
> scripts as separate processes.
>
> Marin said,
>
>>
>> Please look at the latest improved doc. It contains more information:
>>
>>
>> http://htmlpreview.github.com/?https://github.com/pyinstaller/pyinstaller/blob/develop/doc/Manual.html
>>
>> There are also examples in the distribution folder. However, it is not
> clear to me if
> your app is really a "multipackage" one in the sense of the doc.
> The point of the "multipackage" feature is to minimize the disk
> usage of separate, individual apps that use a common code
> base. So they can share a single copy of bulky DLLs or data files.
>
> Your description of a main that starts the others as processes sounds
> like a single app. Can you be more specific about the structure of
> this system? What is the process creation mechanism?
> Does main.py import sub1.py, etc. with import statements?
> Or does it do some kind of dynamic import at runtime?
> Or does it use OS facilities to launch them as separate programs?
>
> Also, one-file or one-dir bundling?
>
>
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.