There comes a point in any app's development where it needs to leave home — half the fun in writing software is being able to share it with other people. Packaging Python GUI apps can be a little tricky, but in this PyQt5 tutorial we'll cover how to package up your apps to share, whether commercially or just for fun.

Explore Packaging & Distribution

Packaging & Distribution
Showing articles for All (43) PyQt6 (13) PySide6 (5) PyQt5 (12) Streamlit (0) Tkinter (1) PySide2 (5) Kivy (0)

How to compile PyQt6 or PySide6 code with Nuitka

Convert your Python Qt applications to fast native executables using the Nuitka compiler

Linux Packaging Preferred Formats for Python GUI Applications

Choosing the right packaging format for distributing your Python apps on Linux

Using Icons from Qt Resources with PyInstaller

Understanding why PyInstaller needs a separate icon file, even when you're using a QRC resource file

Packaging Python Apps That Use scikit-learn with PyInstaller

How to solve hidden import errors when bundling scikit-learn and other complex packages

How to Specify Absolute Paths for QIcon in PyQt6

Using os.path and pathlib to build icon paths correctly in your PyQt6 applications

How to Specify Absolute Paths for QIcon in PySide6

Using os.path and pathlib to build icon paths correctly in your PySide6 applications

Setting Window Icons in PyQt5 Apps Packaged with PyInstaller

How to bundle and display icons correctly in your packaged PyQt5 applications

Using command line arguments to open files with PyQt5 apps -- Windows file associations

Accept filenames from the command line and set up Windows "Open with" for your PyQt5 applications

Using command line arguments to open files with PyQt6 apps -- Windows file associations

Accept filenames from the command line and set up Windows "Open with" for your PyQt6 applications

How to Reference the App Context from a Window in fbs ApplicationContext

Passing the ApplicationContext to your MainWindow when using fbs for PyQt5 packaging

Fixing "No such file or directory" for .ui Files When Using fbs freeze

Why your .ui file works with fbs run but breaks after freezing, and how to fix it

Packaged installer file sizes for PyQt apps

Understanding and reducing the size of Python GUI application installers

Using Qt Designer .ui Files with fbs for PyQt5 Packaging

Load your Qt Designer interfaces directly in fbs-based applications without converting to Python

Packaging PyQt5 applications for Windows with PyInstaller & InstallForge

Turn your PyQt5 application into a distributable installer for Windows

Packaging PyQt5 applications for Linux with PyInstaller & fpm

Turn your PyQt5 application into installable Linux packages

Packaging PySide apps with fbs

Distribute cross-platform GUI applications with the fman Build System

Packaging PyQt5 apps with fbs

Distribute cross-platform GUI applications with the fman Build System
1 2