pyinstaller_window.spec 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. ('poppler', './poppler')
  12. ('./win_sub_lib/api-ms-win-core-path-l1-1-0.dll', '.'),
  13. ('./win_sub_lib/api-ms-win-shcore-scaling-l1-1-1.dll', '.'),
  14. ('./docs', './docs'),
  15. ('./image', './image')],
  16. hiddenimports=[],
  17. hookspath=[],
  18. hooksconfig={},
  19. runtime_hooks=[],
  20. excludes=[],
  21. win_no_prefer_redirects=False,
  22. win_private_assemblies=False,
  23. cipher=block_cipher,
  24. noarchive=False,
  25. )
  26. pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
  27. exe = EXE(
  28. pyz,
  29. a.scripts,
  30. [],
  31. exclude_binaries=True,
  32. name='Propusk',
  33. debug=False,
  34. bootloader_ignore_signals=False,
  35. strip=False,
  36. upx=True,
  37. console=False,
  38. disable_windowed_traceback=False,
  39. argv_emulation=False,
  40. target_arch=None,
  41. codesign_identity=None,
  42. entitlements_file=None,
  43. )
  44. coll = COLLECT(
  45. exe,
  46. a.binaries,
  47. a.zipfiles,
  48. a.datas,
  49. strip=False,
  50. upx=True,
  51. upx_exclude=[],
  52. name='Propusk',
  53. )