Skip to content

One Folder, One Program, Multiple Executables #5393

Answered by rokm
real-yfprojects asked this question in Help
Discussion options

You must be logged in to vote

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...

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@rokm
Comment options

@rokm
Comment options

@bwoodsend
Comment options

@real-yfprojects
Comment options

@rokm
Comment options

Answer selected by real-yfprojects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants