Skip to content

Getting an error when pyinstaller files are installed on mac osx under myapp.app. #9029

Answered by rokm
zapta asked this question in Help
Discussion options

You must be logged in to vote

BTW, pyinstall creates two directories in the dist directory, app and app.app. I am create the package with the first one and it installed in /Applications as a 'folder' application rather than a bundle application. It seems to be more user friendly for cli apps.

Yes, that's because when you use --windowed mode, the spec file contains both COLLECT and BUNDLE targets; the first creates a onedir POSIX build, and the second an .app bundle. If you do not need the .app bundle, you can remove the BUNDLE target from the .spec.

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@zapta
Comment options

@rokm
Comment options

rokm Feb 17, 2025
Maintainer

@rokm
Comment options

rokm Feb 17, 2025
Maintainer

@zapta
Comment options

@rokm
Comment options

rokm Feb 17, 2025
Maintainer

Comment options

You must be logged in to vote
1 reply
@rokm
Comment options

rokm Feb 17, 2025
Maintainer

Answer selected by zapta
Comment options

You must be logged in to vote
0 replies
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