One Folder, One Program, Multiple Executables #5393
-
I am developing a set of PyQt5 application that all use the same underlying python module. They therefore have the same dependencies. I would like to bundle them all into one folder having one executable for each Qt app.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 15 replies
-
Sounds like you might want to use a combined Although now that I now a bit more about internals of PyInstaller, I suspect that this approach results in duplication of .pyc modules within the PYZ archives that are embedded in the executables. But that's the flip side of not having all .pyc modules collected in one executable's PYZ and having others refer to it... |
Beta Was this translation helpful? Give feedback.
Sounds like you might want to use a combined
COLLECT
- see #1358 (comment). I've done something like that for a project consisting of a CLI processing program, a GUI processing program, and a results viewer that shared a large portion of the python code and external dependencies.Although now that I now a bit more about internals of PyInstaller, I suspect that this approach results in duplication of .pyc modules within the PYZ archives that are embedded in the executables. But that's the flip side of not having all .pyc modules collected in one executable's PYZ and having others refer to it...