Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create a package of a PyQt/PySide application which can be expected to run in "reasonable" environments?

By "reasonable" environment I mean that it should not require the user to manually install any dependencies of the application, but a working Python installation can be required. Additionally I would like the application to work on Windows, OSX, and popular Linux distributions. If I can package a Python interpreter as well, that's better. Size is not really a concern. A good example of what I want to accomplish is the SublimeText editor.

Is there an established way of doing this?

like image 555
Tamás Szelei Avatar asked Nov 28 '25 16:11

Tamás Szelei


1 Answers

Yes, python comes with setup utilities, and there are packages which will put your complete application in a platform specific binary(exe on windows, .app on osx). Some of the packages I would recommend looking at would be:

cx_freeze

py2app

py2exe

like image 162
Thijs de Z Avatar answered Nov 30 '25 14:11

Thijs de Z



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!