14 lines
769 B
RPMSpec
14 lines
769 B
RPMSpec
# PyInstaller-Spezifikation: pyinstaller netclip.spec (oder python build.py)
|
|
import sys
|
|
|
|
a = Analysis(["netclip-launcher.py"], pathex=["."], hiddenimports=[],
|
|
excludes=["tkinter", "PySide6.QtQml", "PySide6.QtQuick", "PySide6.QtPdf"])
|
|
pyz = PYZ(a.pure)
|
|
exe = EXE(pyz, a.scripts, [], exclude_binaries=True, name="NetClip", console=False,
|
|
icon="packaging/netclip.ico" if sys.platform == "win32" else None)
|
|
coll = COLLECT(exe, a.binaries, a.datas, name="NetClip")
|
|
if sys.platform == "darwin":
|
|
app = BUNDLE(coll, name="NetClip.app", bundle_identifier="de.netclip.client",
|
|
info_plist={"LSUIElement": True, # nur Menueleisen-Symbol, kein Dock-Icon
|
|
"CFBundleShortVersionString": "1.0.0"})
|