summaryrefslogtreecommitdiff
path: root/pkg/pyinst
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-19 19:14:22 +0100
committerKali Kaneko <kali@leap.se>2018-02-19 19:37:43 +0100
commit6de3b4b1fb22a503fe04b3e5678a45aa81657c55 (patch)
tree7a05dfe99e761246708d7183aada662e2148f5c6 /pkg/pyinst
parent89dbc2c7b7f6c41b5520c3633d1f90ddb0162f37 (diff)
[pkg] osx packaging changes for riseupvpn
Diffstat (limited to 'pkg/pyinst')
-rw-r--r--pkg/pyinst/anonvpn.spec13
1 files changed, 11 insertions, 2 deletions
diff --git a/pkg/pyinst/anonvpn.spec b/pkg/pyinst/anonvpn.spec
index 98624dd4..ec61f04e 100644
--- a/pkg/pyinst/anonvpn.spec
+++ b/pkg/pyinst/anonvpn.spec
@@ -25,6 +25,7 @@ hiddenimports = [
VENV = os.environ.get('VIRTUAL_ENV', '')
ENTRYPOINT = ['../../src/leap/bitmask/gui/anonvpn.py']
+excludes = ['PyQt5', 'pysqlcipher', 'scrypt', 'leap.soledad', 'IPython']
a = Analysis(ENTRYPOINT,
binaries=None,
@@ -32,8 +33,7 @@ a = Analysis(ENTRYPOINT,
hiddenimports=hiddenimports,
hookspath=[],
runtime_hooks=[],
- excludes=[],
-
+ excludes=excludes,
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher)
@@ -55,3 +55,12 @@ coll = COLLECT(exe,
strip=False,
upx=True,
name='anonvpn')
+if IS_MAC:
+ app = BUNDLE(
+ coll,
+ name=os.path.join(
+ 'dist', 'RiseupVPN.app'),
+ appname='RiseupVPN',
+ version=BITMASK_VERSION,
+ icon='pkg/branding/riseupvpn.icns',
+ bundle_identifier='RiseupVPN-' + BITMASK_VERSION)