2018-10-26 16:01:59 +00:00
|
|
|
# -*- mode: python -*-
|
|
|
|
|
|
|
|
block_cipher = None
|
|
|
|
|
2018-10-29 05:49:25 +00:00
|
|
|
a = Analysis(['src/vorta/__main__.py'],
|
|
|
|
pathex=['/Users/manu/Workspace/vorta/src'],
|
2018-10-27 07:00:56 +00:00
|
|
|
binaries=[
|
|
|
|
('bin/macosx64/borg', 'bin')
|
|
|
|
],
|
2018-10-26 16:01:59 +00:00
|
|
|
datas=[
|
2018-10-29 05:49:25 +00:00
|
|
|
('src/vorta/assets/UI/*', 'assets/UI'),
|
|
|
|
('src/vorta/assets/icons/*', 'assets/icons'),
|
2018-10-26 16:01:59 +00:00
|
|
|
],
|
2018-11-01 07:02:56 +00:00
|
|
|
hiddenimports=['vorta.views.collection_rc'],
|
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,
|
2018-11-05 15:07:42 +00:00
|
|
|
bootloader_ignore_signals=True,
|
2018-10-26 16:01:59 +00:00
|
|
|
strip=False,
|
|
|
|
upx=True,
|
|
|
|
runtime_tmpdir=None,
|
2018-11-05 15:07:42 +00:00
|
|
|
console=True )
|
2018-10-28 15:40:38 +00:00
|
|
|
|
2018-10-26 16:01:59 +00:00
|
|
|
app = BUNDLE(exe,
|
|
|
|
name='Vorta.app',
|
2018-10-29 05:49:25 +00:00
|
|
|
icon='src/vorta/assets/icons/app-icon.icns',
|
2018-10-28 15:40:38 +00:00
|
|
|
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',
|
2018-11-17 11:46:55 +00:00
|
|
|
'CFBundleShortVersionString': '0.4.0',
|
2018-11-05 15:07:42 +00:00
|
|
|
'NSAppleEventsUsageDescription': 'Please allow',
|
2018-10-26 16:01:59 +00:00
|
|
|
},
|
|
|
|
)
|
2018-10-27 07:00:56 +00:00
|
|
|
if False:
|
|
|
|
coll = COLLECT(exe,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
strip=False,
|
|
|
|
name='vorta-dir')
|