diff options
author | Kali Kaneko <kali@leap.se> | 2016-03-09 16:27:12 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-19 09:59:57 -0400 |
commit | b546d64221f5c10d7ec076fd278b7e60c3fb6f31 (patch) | |
tree | 7f24d852afd42c171553456f7d7b2ca791d6161b /pkg/pyinst/multi.spec | |
parent | b3f5538984502d97c77a9666f39c8d5b8f4a5c31 (diff) |
[feat] add bitmaskd to multipackage spec
Diffstat (limited to 'pkg/pyinst/multi.spec')
-rw-r--r-- | pkg/pyinst/multi.spec | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/pkg/pyinst/multi.spec b/pkg/pyinst/multi.spec index 2bb9d248..aa5c83c0 100644 --- a/pkg/pyinst/multi.spec +++ b/pkg/pyinst/multi.spec @@ -13,7 +13,6 @@ gui_a = Analysis(['bitmask.py'], excludes=None, cipher=block_cipher) cli_a = Analysis(['bitmask_cli'], - pathex=['/home/kali/leap/bitmask_client/pkg/pyinst'], binaries=None, datas=None, hiddenimports=[ @@ -24,9 +23,21 @@ cli_a = Analysis(['bitmask_cli'], win_no_prefer_redirects=False, win_private_assemblies=False, cipher=block_cipher) +daemon_a = Analysis(['bitmaskd'], + binaries=None, + datas=None, + hiddenimports=[ + 'leap.bitmask.core.service'], + hookspath=[], + runtime_hooks=[], + excludes=[], + win_no_prefer_redirects=False, + win_private_assemblies=False, + cipher=block_cipher) MERGE( (gui_a, 'bitmask', 'bitmask'), - (cli_a, 'bitmask_cli', 'bitmask')) + (cli_a, 'bitmask_cli', 'bitmask'), + (daemon_a, 'bitmaskd', 'bitmaskd')) gui_pyz = PYZ(gui_a.pure, gui_a.zipped_data, cipher=block_cipher) gui_exe = EXE(gui_pyz, @@ -41,6 +52,11 @@ cli_exe = EXE(cli_pyz, exclude_binaries=True, name='bitmask_cli', debug=False, strip=False, upx=True, console=True) +daemon_pyz = PYZ(daemon_a.pure, daemon_a.zipped_data, cipher=block_cipher) +daemon_exe = EXE(daemon_pyz, + daemon_a.scripts, + exclude_binaries=True, + name='bitmaskd', debug=False, strip=False, upx=True, console=True ) gui_coll = COLLECT(gui_exe, gui_a.binaries, @@ -52,3 +68,8 @@ cli_coll = COLLECT(cli_exe, cli_a.zipfiles, cli_a.datas, strip=False, upx=True, name='bitmask_cli') +daemon_coll = COLLECT(daemon_exe, + daemon_a.binaries, + daemon_a.zipfiles, + daemon_a.datas, + strip=False, upx=True, name='bitmaskd') |