2018-10-26 16:01:59 +00:00
|
|
|
# -*- mode: python -*-
|
|
|
|
|
|
|
|
block_cipher = None
|
|
|
|
|
|
|
|
a = Analysis(['vorta/__main__.py'],
|
|
|
|
pathex=['/Users/manu/Workspace/vorta'],
|
2018-10-27 07:00:56 +00:00
|
|
|
binaries=[
|
|
|
|
('bin/macosx64/borg', 'bin')
|
|
|
|
],
|
2018-10-26 16:01:59 +00:00
|
|
|
datas=[
|
2018-10-28 04:10:15 +00:00
|
|
|
('vorta/UI/*.ui', 'UI'),
|
|
|
|
('vorta/UI/icons/*', 'UI/icons'),
|
2018-10-26 16:01:59 +00:00
|
|
|
],
|
2018-10-27 07:00:56 +00:00
|
|
|
hiddenimports=[],
|
2018-10-26 16:01:59 +00:00
|
|
|
hookspath=[],
|
|
|
|
runtime_hooks=[],
|
|
|
|
excludes=[],
|
|
|
|
win_no_prefer_redirects=False,
|
|
|
|
win_private_assemblies=False,
|
|
|
|
cipher=block_cipher,
|
|
|
|
noarchive=False)
|
|
|
|
pyz = PYZ(a.pure, a.zipped_data,
|
|
|
|
cipher=block_cipher)
|
|
|
|
exe = EXE(pyz,
|
|
|
|
a.scripts,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
[],
|
|
|
|
name='vorta',
|
|
|
|
debug=False,
|
|
|
|
bootloader_ignore_signals=False,
|
|
|
|
strip=False,
|
|
|
|
upx=True,
|
|
|
|
runtime_tmpdir=None,
|
|
|
|
console=False )
|
2018-10-28 15:40:38 +00:00
|
|
|
|
2018-10-26 16:01:59 +00:00
|
|
|
app = BUNDLE(exe,
|
|
|
|
name='Vorta.app',
|
2018-10-28 15:40:38 +00:00
|
|
|
icon='vorta/UI/icons/app-icon.icns',
|
|
|
|
bundle_identifier='com.borgbase.client.macos',
|
2018-10-26 16:01:59 +00:00
|
|
|
info_plist={
|
2018-10-28 04:10:15 +00:00
|
|
|
'NSHighResolutionCapable': 'True',
|
2018-10-28 15:40:38 +00:00
|
|
|
'LSUIElement': '1',
|
|
|
|
'CFBundleShortVersionString': '0.0.3'
|
2018-10-26 16:01:59 +00:00
|
|
|
},
|
|
|
|
)
|
2018-10-28 15:40:38 +00:00
|
|
|
|
2018-10-27 07:00:56 +00:00
|
|
|
# Debug package. (inspired from borg)
|
|
|
|
if False:
|
|
|
|
coll = COLLECT(exe,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
strip=False,
|
|
|
|
upx=True,
|
|
|
|
name='vorta-dir')
|