Advertisement
jevixlugya

Untitled

Mar 31st, 2023 (edited)
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.44 KB | None | 0 0
  1. # -*- mode: python ; coding: utf-8 -*-
  2. import os
  3. from kivy_deps import sdl2, glew  # required for kivy
  4.  
  5. spec_root = os.path.abspath(SPECPATH)
  6. block_cipher = None
  7. app_name = 'Ennyimba Za Kristo'   # todo: Replace with your app name
  8. win_icon = 'sda2.ico'  # todo: replace with icon
  9.  
  10. a = Analysis(
  11.     ['Ennyimba.py'],
  12.     pathex=['C:/ennyimba asset/Ennyimba'],    
  13.     binaries=[],
  14.     datas=[('C:/ennyimba asset/Ennyimbatext/*.txt', '.'),
  15.         ('C:/ennyimba asset/fonts/*.ttf','.'),
  16.         ('C:/ennyimba asset/sda2.png', '.'),
  17.         ('C:/ennyimba asset/singing.jpg','.')],
  18.        
  19.     hiddenimports=['win32timezone'],
  20.     hookspath=[],
  21.     hooksconfig={},
  22.     runtime_hooks=[],
  23.     excludes=[],
  24.     win_no_prefer_redirects=False,
  25.     win_private_assemblies=False,
  26.     cipher=block_cipher,
  27.     noarchive=False,
  28. )
  29. pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
  30.  
  31. exe = EXE(
  32.     pyz,
  33.     a.scripts,
  34.     [],
  35.     exclude_binaries=True,
  36.     name=app_name,
  37.     debug=False,
  38.     bootloader_ignore_signals=False,
  39.     strip=False,
  40.     upx=True,
  41.     console=False,
  42.     disable_windowed_traceback=False,
  43.     argv_emulation=False,
  44.     target_arch=None,
  45.     codesign_identity=None,
  46.     entitlements_file=None,
  47. )
  48. coll = COLLECT(
  49.     exe,
  50.     a.binaries,
  51.     a.zipfiles,
  52.     a.datas,
  53.     *[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)],
  54.     strip=False,
  55.     upx=True,
  56.     upx_exclude=[],
  57.     name=app_name,
  58. )
  59.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement