Scroll to navigation

PYSIDE6-DEPLOY(1) PySide6 tools PYSIDE6-DEPLOY(1)

NAME

pyside6-deploy - deploy

DESCRIPTION

usage: deploy.py [-h] [-c CONFIG_FILE] [--init] [-v] [--dry-run]

[--keep-deployment-files] [-f] [--name NAME] [--extra-ignore-dirs EXTRA_IGNORE_DIRS] [--extra-modules EXTRA_MODULES] [--mode {onefile,standalone}] [main_file]

This tool deploys PySide6 to desktop (Windows, Linux, macOS) platforms. The following types of executables are produced as per the platform: Windows = .exe macOS = .app Linux = .bin

positional arguments:

Path to main python file

options:

show this help message and exit
Path to the .spec config file
Create pysidedeploy.spec file, if it doesn't already exists
Run in verbose mode
Show the commands to be run
Keep the generated deployment files generated
Force all input prompts
Application name
Comma-separated directory names inside the project dir. These directories will be skipped when searching for Python files relevant to the project. Example usage: --extra-ignore-dirs=doc,translations
Comma-separated list of Qt modules to be added to the application, in case they are not found automatically. This occurs when you have 'import PySide6' in your code instead 'from PySide6 import <module>'. The module name is specified by either omitting the prefix of Qt or including it. Example usage 1: --extramodules=Network,Svg Example usage 2: --extramodules=QtNetwork,QtSvg
The mode in which the application is deployed. The options are: onefile, standalone. The default value is onefile. This options translates to the mode Nuitka uses to create the executable. macOS by default uses the --standalone option.
March 2026 pyside6-deploy 6.10