SpaceLife-Updater/venv/lib64/python3.12/site-packages/PyInstaller/hooks/hook-PySide2.QtMultimedia.py

20 lines
979 B
Python
Executable File

#-----------------------------------------------------------------------------
# Copyright (c) 2013-2023, PyInstaller Development Team.
#
# Distributed under the terms of the GNU General Public License (version 2
# or later) with exception for distributing the bootloader.
#
# The full license is in the file COPYING.txt, distributed with this software.
#
# SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception)
#-----------------------------------------------------------------------------
from PyInstaller.utils.hooks.qt import add_qt5_dependencies
hiddenimports, binaries, datas = add_qt5_dependencies(__file__)
# Using PySide2 true_properties ("from __feature__ import true_properties") causes a hidden dependency on
# QtMultimediaWidgets python module:
# https://github.com/qtproject/pyside-pyside-setup/blob/5.15.2/sources/shiboken2/shibokenmodule/files.dir/shibokensupport/signature/mapping.py#L577-L586
hiddenimports += ['PySide2.QtMultimediaWidgets']