""" py2app-Build fuer WuerthVPN.app (Menuebar-Only, kein Dock-Icon via LSUIElement). Bauen: cd ~/apps /Library/Developer/CommandLineTools/usr/bin/python3 setup.py py2app Ergebnis: ~/apps/dist/WuerthVPN.app """ from setuptools import setup APP = ["wuerth_vpn_tray.py"] DATA_FILES = ["wuerth.png"] OPTIONS = { "iconfile": "icon.icns", "packages": ["PyQt6"], "plist": { "CFBundleName": "WuerthVPN", "CFBundleDisplayName": "WuerthVPN", "CFBundleIdentifier": "com.wuerth.vpntray", "CFBundleShortVersionString": "1.0", "CFBundleVersion": "1", "LSUIElement": True, "NSHighResolutionCapable": True, }, } setup( app=APP, name="WuerthVPN", data_files=DATA_FILES, options={"py2app": OPTIONS}, setup_requires=["py2app"], )