# -*- mode: python ; coding: utf-8 -*- from PyInstaller.utils.hooks import copy_metadata datas = [('statapp/images/sticker.gif', 'images')] datas += copy_metadata('statapp') a = Analysis( ['statapp/__main__.py'], pathex=[], binaries=[], datas=datas, hiddenimports=[], hookspath=[], hooksconfig={}, runtime_hooks=[], excludes=[], noarchive=False, ) pyz = PYZ(a.pure) exe = EXE( pyz, a.scripts, a.binaries, a.datas, [], name='statapp', debug=False, bootloader_ignore_signals=False, strip=False, upx=True, upx_exclude=[], runtime_tmpdir=None, console=False, disable_windowed_traceback=False, argv_emulation=False, target_arch=None, codesign_identity=None, entitlements_file=None, )