I am trying to package kivy and CEFpython into single exe.
Pyinstaller is not compiling EXE on my windows machine. It gets stuck at "111686 INFO: Building PKG (CArchive) PKG-00.pkg" and then throws errors.
# -*- mode: python ; coding: utf-8 -*-
from kivy_deps import sdl2, glew, angle
import os, platform
if platform.system().lower() == 'windows':
os.environ['KIVY_GL_BACKEND'] = "angle_sdl2"
block_cipher = None
assets_files = [
('ipaws/assets','assets'),
('ipaws/widgets/kvs/*.kv', '.'),
('ipaws/screens/kvs/*.kv', '.')
]
a = Analysis(['ipaws\\app.py'],
pathex=['C:\\Users\\IEUser\\Desktop\\warn'],
binaries=[],
datas=assets_files,
hiddenimports=['sqlalchemy.ext.baked', 'plyer.platforms.win.filechooser'],
hookspath=['.'],
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
*[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins + angle.dep_bins)],
[],
name='ipaws',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
console=True,
runtime_tmpdir=None
)