Windows app not launching

10 views
Skip to first unread message

mohamad hadad

unread,
Aug 24, 2016, 8:06:55 PM8/24/16
to Kivy users support
I have the following structure:  (image)
and the following .spec file:
# -*- mode: python -*-
from kivy.deps import glew, sdl2



block_cipher = None


a = Analysis(['C:\\Users\\Mohamad\\PycharmProjects\\offline_file_archiever\\app\\main.py'],
             pathex=['C:\\Users\\Mohamad\\PycharmProjects\\offline_file_archiever\\build'],
             binaries=None,
             datas=None,
             hiddenimports=['sqlite3'],
             runtime_hooks=[],       
             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='sample_build',
          debug=False,
          strip=False,
          upx=True,
          console=True )


 
coll = COLLECT(exe,Tree('C:/Users/Mohamad/PycharmProjects/offline_file_archiever/app/gui'),
               a.binaries,
               a.zipfiles,
               a.datas,
               *[Tree(p) for p in (sdl2.dep_bins + glew.dep_bins)],
  strip=False,
               upx=True,
               name='sample_build')



running from the console my application .exe its giving that module config.py doesn't exist !!! however it exists and its working well when executing the main.py through the interpreter
prj.png
Reply all
Reply to author
Forward
0 new messages