pkg.spec 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # -*- mode: python ; coding: utf-8 -*-
  2. # D:\python39\Scripts\pyinstaller pkg.spec
  3. block_cipher = None
  4. a = Analysis(['D:\\python-workspace\\deviceMonitor\\main.py'],
  5. pathex=[],
  6. binaries=[],
  7. datas=[],
  8. hiddenimports=[],
  9. hookspath=[],
  10. hooksconfig={},
  11. runtime_hooks=[],
  12. excludes=[],
  13. win_no_prefer_redirects=False,
  14. win_private_assemblies=False,
  15. cipher=block_cipher,
  16. noarchive=False)
  17. pyz = PYZ(a.pure, a.zipped_data,
  18. cipher=block_cipher)
  19. exe = EXE(pyz,
  20. a.scripts,
  21. [],
  22. exclude_binaries=True,
  23. name='run',
  24. debug=False,
  25. bootloader_ignore_signals=False,
  26. strip=False,
  27. upx=True,
  28. console=True,
  29. disable_windowed_traceback=False,
  30. target_arch=None,
  31. codesign_identity=None,
  32. entitlements_file=None , icon='D:\\python-workspace\\打包\\logo.png')
  33. coll = COLLECT(exe,
  34. a.binaries,
  35. a.zipfiles,
  36. a.datas,
  37. strip=False,
  38. upx=True,
  39. upx_exclude=[],
  40. name='run')