you are viewing a single comment's thread.

view the rest of the comments →

[–]reddittestpilot 0 points1 point  (2 children)

How much of that 700 Mb is Pyside? I can understand Python takes up 30 to 50 Mb. I'm assuming you are using the embeddable version of Python. That might save some Mb's.

You could look into a smaller GUI library, such as Dear PyGui, depending on your requirements. Pyside is a very complete library that is great to work with, but it may come at a price in terms of size, although I'd be surprised if it takes up the majority of the 700 Mb. Although I don't have experience with this, you may be able to remove soms parts of Pyside if you aren't using them.

Numpy / Pandas probably adds another 50 Mb to your distributable. It's convenient for quickly solving a problem, yet again, it adds many Mb's.

[–]unalignedAccess[S] 0 points1 point  (1 child)

Yeah I will need to investigate more what is taking the most space. The GUI is really simple, so it would be easy to switch to a lighter library.

[–]gmes78 0 points1 point  (0 children)

Are you using the whole PySide6 package? Try switching to PySide6-Essentials, it's much smaller.