mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
adjusted pyinstaller conf
This commit is contained in:
parent
53c9f2a668
commit
9d96e1ee37
|
@ -4,7 +4,7 @@
|
||||||
block_cipher = None
|
block_cipher = None
|
||||||
|
|
||||||
# DAEMON --------------------------------------------------
|
# DAEMON --------------------------------------------------
|
||||||
daemon_a = Analysis(['daemon.py'],
|
server_a = Analysis(['server.py'],
|
||||||
pathex=[],
|
pathex=[],
|
||||||
binaries=[],
|
binaries=[],
|
||||||
datas=[],
|
datas=[],
|
||||||
|
@ -17,15 +17,15 @@ daemon_a = Analysis(['daemon.py'],
|
||||||
win_private_assemblies=False,
|
win_private_assemblies=False,
|
||||||
cipher=block_cipher,
|
cipher=block_cipher,
|
||||||
noarchive=False)
|
noarchive=False)
|
||||||
daemon_pyz = PYZ(daemon_a.pure, daemon_a.zipped_data,
|
server_pyz = PYZ(server_a.pure, server_a.zipped_data,
|
||||||
cipher=block_cipher)
|
cipher=block_cipher)
|
||||||
|
|
||||||
daemon_exe = EXE(daemon_pyz,
|
server_exe = EXE(server_pyz,
|
||||||
daemon_a.scripts,
|
server_a.scripts,
|
||||||
[],
|
[],
|
||||||
exclude_binaries=True,
|
exclude_binaries=True,
|
||||||
name='freedata-daemon',
|
name='freedata-server',
|
||||||
bundle_identifier='com.dj2ls.freedata-daemon',
|
bundle_identifier='app.freedata.freedata-server',
|
||||||
debug=False,
|
debug=False,
|
||||||
bootloader_ignore_signals=False,
|
bootloader_ignore_signals=False,
|
||||||
strip=False,
|
strip=False,
|
||||||
|
@ -37,52 +37,15 @@ daemon_exe = EXE(daemon_pyz,
|
||||||
entitlements_file=None )
|
entitlements_file=None )
|
||||||
|
|
||||||
# add lib folder to system path. We only need to do this once
|
# add lib folder to system path. We only need to do this once
|
||||||
daemon_a.datas += Tree('lib', prefix='lib')
|
server_a.datas += Tree('lib', prefix='lib')
|
||||||
# daemon_a.datas += Tree('./codec2', prefix='codec2')
|
# daemon_a.datas += Tree('./codec2', prefix='codec2')
|
||||||
|
|
||||||
|
|
||||||
# Modem --------------------------------------------------
|
|
||||||
modem_a = Analysis(['main.py'],
|
|
||||||
pathex=[],
|
|
||||||
binaries=[],
|
|
||||||
datas=[],
|
|
||||||
hiddenimports=[],
|
|
||||||
hookspath=[],
|
|
||||||
hooksconfig={},
|
|
||||||
runtime_hooks=[],
|
|
||||||
excludes=[],
|
|
||||||
win_no_prefer_redirects=False,
|
|
||||||
win_private_assemblies=False,
|
|
||||||
cipher=block_cipher,
|
|
||||||
noarchive=False)
|
|
||||||
modem_pyz = PYZ(modem_a.pure, modem_a.zipped_data,
|
|
||||||
cipher=block_cipher)
|
|
||||||
|
|
||||||
modem_exe = EXE(modem_pyz,
|
coll = COLLECT(server_exe,
|
||||||
modem_a.scripts,
|
server_a.binaries,
|
||||||
[],
|
server_a.zipfiles,
|
||||||
exclude_binaries=True,
|
server_a.datas,
|
||||||
name='freedata-modem',
|
|
||||||
bundle_identifier='com.dj2ls.freedata-modem',
|
|
||||||
debug=False,
|
|
||||||
bootloader_ignore_signals=False,
|
|
||||||
strip=False,
|
|
||||||
upx=True,
|
|
||||||
console=True,
|
|
||||||
disable_windowed_traceback=False,
|
|
||||||
target_arch=None,
|
|
||||||
codesign_identity=None,
|
|
||||||
entitlements_file=None )
|
|
||||||
|
|
||||||
|
|
||||||
coll = COLLECT(daemon_exe,
|
|
||||||
daemon_a.binaries,
|
|
||||||
daemon_a.zipfiles,
|
|
||||||
daemon_a.datas,
|
|
||||||
modem_exe,
|
|
||||||
modem_a.binaries,
|
|
||||||
modem_a.zipfiles,
|
|
||||||
modem_a.datas,
|
|
||||||
strip=False,
|
strip=False,
|
||||||
upx=True,
|
upx=True,
|
||||||
upx_exclude=[],
|
upx_exclude=[],
|
||||||
|
|
Loading…
Reference in a new issue