aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/deployment-py2exe.rst
blob: 24d260d710bdd5ec8c482417c55d16c51c9c0809 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|project| & py2exe
##################

Deploying an application using py2exe requires writing a small `setup.py` file.
It is explained in the `Tutorial <http://www.py2exe.org/index.cgi/Tutorial>`_.

py2exe is not generally aware of Qt. It merely copies the dependent libraries
of the application to the `dist` directory, so, the plugins, QML imports
and translations of Qt are missing.

The latter need to be copied manually after running py2exe.
This can be achieved by running the `windeployqt` tool
from the Qt SDK on the Qt libraries present in the `dist` directory,
for example:

   windeployqt dist\\Qt6Widgets.dll