Skip to content
Discussion options

You must be logged in to vote

I understood that when calling pyinstaller with a .spec file, the onefile mode is the default mode.

A spec file is in whatever mode you specified when you generated it. pyinstaller xyz.py creates a onedir spec and pyinstaller --onefile xyz.py creates a onefile spec.

Give onedir mode a go. Onefile mode doesn't scale well on Windows.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@enricodragoni
Comment options

@bwoodsend
Comment options

Answer selected by enricodragoni
@enricodragoni
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants