You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB

  1. # -*- mode: python ; coding: utf-8 -*-
  2. block_cipher = None
  3. with open('_version.py', 'r') as versinfo:
  4. exec(versinfo.read())
  5. a = Analysis(['gui.py'],
  6. pathex=['/home/ivan/Code/chordsheet'],
  7. binaries=[],
  8. datas=[
  9. ('fonts', 'fonts'),
  10. ('ui', 'ui')
  11. ],
  12. hiddenimports=['PyQt5.sip'],
  13. hookspath=[],
  14. runtime_hooks=[],
  15. excludes=[],
  16. win_no_prefer_redirects=False,
  17. win_private_assemblies=False,
  18. cipher=block_cipher,
  19. noarchive=False)
  20. pyz = PYZ(a.pure, a.zipped_data,
  21. cipher=block_cipher)
  22. exe = EXE(pyz,
  23. a.scripts,
  24. [],
  25. exclude_binaries=True,
  26. name='chordsheet',
  27. icon='ui/icon.png',
  28. debug=False,
  29. bootloader_ignore_signals=False,
  30. strip=False,
  31. upx=True,
  32. upx_exclude=[],
  33. runtime_tmpdir=None,
  34. console=False,
  35. version='version.rc')
  36. coll = COLLECT(exe,
  37. a.binaries,
  38. a.zipfiles,
  39. a.datas,
  40. strip=False,
  41. upx=True,
  42. upx_exclude=[],
  43. name='chordsheet-'+version)