Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce size of "compiled" version #9

Open
matterhorn103 opened this issue Jun 20, 2024 · 1 comment
Open

Reduce size of "compiled" version #9

matterhorn103 opened this issue Jun 20, 2024 · 1 comment

Comments

@matterhorn103
Copy link
Owner

The size of the app prepared with pyinstaller varies in size (107 MiB on Windows, 169 MiB on Linux) but is in any case quite larger.

Since this is pretty unnecessary, it would be worth looking at ways to reduce the size (e.g. only use PySide6-Essentials).

In particular it might be worth looking at using pyside6-deploy to produce actual binaries instead.

@matterhorn103
Copy link
Owner Author

Using only pyside6-essentials does reduce the footprint, surprisingly, to 149 MiB on Linux. Unfortunately this can't be set in pyinstaller.spec, it is entirely dependent on whether the environment has the full pyside6 installed in it or just pyside6-essentials. The dependency list was changed appropriately by d75627e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant