""" Avery Label Studio — PyInstaller build spec for Windows EXE. Build: pyinstaller AveryLabelStudio.spec Output: dist/AveryLabelStudio.exe No Avery templates are bundled — users download/import their own. """ from pathlib import Path block_cipher = None root = Path(SPECPATH) src = root / "src" a = Analysis( [str(src / "avery_studio" / "__main__.py")], pathex=[str(src)], binaries=[], datas=[], hiddenimports=[ "avery_studio", "avery_studio.main_window", "avery_studio.pdf_export", "avery_studio.document_import", "avery_studio.import_dialog", "avery_studio.template_loader", "avery_studio.print_area", "avery_studio.avery_download", "avery_studio.download_dialog", "avery_studio.printing", "fitz", "cryptography", ], hookspath=[], hooksconfig={}, runtime_hooks=[], excludes=[], win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher, noarchive=False, ) pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher) exe = EXE( pyz, a.scripts, a.binaries, a.zipfiles, a.datas, [], name="AveryLabelStudio", debug=False, bootloader_ignore_signals=False, strip=False, upx=True, upx_exclude=[], runtime_tmpdir=None, console=False, # windowed app — no black console disable_windowed_traceback=False, argv_emulation=False, target_arch=None, codesign_identity=None, entitlements_file=None, icon=None, )