Running Mac Big Sur with Python 3.9 and the most recent pyinstaller.

My app, whose GUI utilizes tkinter, works fine at the terminal. However, 
when I double-click on the app, the icon briefly appears on the computer 
dock before disappearing.

Below is my spec file.

Thanks.

Paul

*************************************

block_cipher = None

a = Analysis(['Sample_Application.py'],
            
 
pathex=['/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages',
 
'/Users/fishbacp/Desktop'],
             binaries=[],
             datas=[('/Users/fishbacp/Desktop//background.png','.')],
             hiddenimports=['_tkinter','PIL'],
             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,
          [],
          exclude_binaries=True,
          name='Sample_Application',
          debug=False,
          bootloader_ignore_signals=False,
          strip=False,
          upx=True,
          console=False )
coll = COLLECT(exe,
               a.binaries,
               a.zipfiles,
               a.datas,
               strip=False,
               upx=True,
               upx_exclude=[],
               name='Sample_Application')
#exe
app = 
BUNDLE(coll,name='Sample_Application.app',icon='/Users/fishbacp/Desktop/spectrum.ico',bundle_identifier=None,
info_plist={
        'LSEnvironment': {
            'LANG': 'de_DE.UTF-8',
            'LC_CTYPE': 'de_DE.UTF-8'
        }})

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/d86d5fc1-60f5-4608-a3a5-b31da9c2ffd1n%40googlegroups.com.

Reply via email to