pyinstaller_window.spec 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # -*- mode: python ; coding: utf-8 -*-
  2. block_cipher = None
  3. a = Analysis(
  4. ['main.py'],
  5. pathex=[],
  6. binaries=[],
  7. datas=[(
  8. 'C:/Users/user/AppData/Local/Programs/Python/Python311/Lib/site-packages/PySide6/plugins',
  9. './PySide6/plugins'
  10. ),
  11. ('./win_sub_lib/api-ms-win-core-path-l1-1-0.dll', '.'),
  12. ('./win_sub_lib/api-ms-win-shcore-scaling-l1-1-1.dll', '.'),
  13. ('./docs', './docs'),
  14. ('./image', './image')],
  15. hiddenimports=[],
  16. hookspath=[],
  17. hooksconfig={},
  18. runtime_hooks=[],
  19. excludes=[],
  20. win_no_prefer_redirects=False,
  21. win_private_assemblies=False,
  22. cipher=block_cipher,
  23. noarchive=False,
  24. )
  25. pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
  26. exe = EXE(
  27. pyz,
  28. a.scripts,
  29. [],
  30. exclude_binaries=True,
  31. name='Propusk',
  32. debug=False,
  33. bootloader_ignore_signals=False,
  34. strip=False,
  35. upx=True,
  36. console=False,
  37. disable_windowed_traceback=False,
  38. argv_emulation=False,
  39. target_arch=None,
  40. codesign_identity=None,
  41. entitlements_file=None,
  42. )
  43. coll = COLLECT(
  44. exe,
  45. a.binaries,
  46. a.zipfiles,
  47. a.datas,
  48. strip=False,
  49. upx=True,
  50. upx_exclude=[],
  51. name='Propusk',
  52. )