| 1 | # -*- mode: python ; coding: utf-8 -*- |
| 2 | |
| 3 | a = Analysis( |
| 4 | ['src/wulftp/__main__.py'], |
| 5 | pathex=[], |
| 6 | binaries=[], |
| 7 | datas=[], |
| 8 | hiddenimports=['PyQt6', 'paramiko', 'qtawesome', 'dotenv'], |
| 9 | hookspath=[], |
| 10 | hooksconfig={}, |
| 11 | runtime_hooks=[], |
| 12 | excludes=['tkinter'], |
| 13 | noarchive=False, |
| 14 | ) |
| 15 | pyz = PYZ(a.pure) |
| 16 | |
| 17 | exe = EXE( |
| 18 | pyz, |
| 19 | a.scripts, |
| 20 | a.binaries, |
| 21 | a.datas, |
| 22 | [], |
| 23 | name='wulFTP', |
| 24 | debug=False, |
| 25 | bootloader_ignore_signals=False, |
| 26 | strip=False, |
| 27 | upx=True, |
| 28 | upx_exclude=[], |
| 29 | runtime_tmpdir=None, |
| 30 | console=False, |
| 31 | disable_windowed_traceback=False, |
| 32 | argv_emulation=False, |
| 33 | target_arch=None, |
| 34 | codesign_identity=None, |
| 35 | entitlements_file=None, |
| 36 | icon=None, # No icon for now |
| 37 | ) |
| 38 | |
| 39 | # Only create .app bundle on macOS |
| 40 | import sys |
| 41 | if sys.platform == 'darwin': |
| 42 | app = BUNDLE( |
| 43 | exe, |
| 44 | name='wulFTP.app', |
| 45 | icon=None, # No icon for now |
| 46 | bundle_identifier='com.mfw.wulftp', |
| 47 | ) |