问题描述:

I am trying to package a kivy app that I built but the app chrashes every time I open it. I downloaded pyinstaller using pip, have created the .spec file, with all the information for my kivy app. Here is the code:

 # -*- mode: python -*-

block_cipher = None

a = Analysis(['Music_Playing_App.py'],

pathex=['/Users/davidpetullo/Documents'],

binaries=None,

datas=None,

hiddenimports=[],

hookspath=[],

runtime_hooks=[],

excludes=[],

win_no_prefer_redirects=False,

win_private_assemblies=False,

cipher=block_cipher)

pyz = PYZ(a.pure, a.zipped_data,

cipher=block_cipher)

exe = EXE(pyz,

a.scripts,

exclude_binaries=True,

name='Music_Playing_App',

debug=False,

strip=False,

upx=True,

console=False )

coll = COLLECT(exe,

a.binaries,

a.zipfiles,

a.datas,

strip=False,

upx=True,

name='Music_Playing_App')

app = BUNDLE(coll,

name='Music_Playing_App.app',

icon=None,

bundle_identifier=None)

Any suggestions on how to change this file or what commands I should run in terminal to make a functional app?

相关阅读:
Top