2016-04-10 17:20:18 -04:00
|
|
|
# -*- mode: python -*-
|
|
|
|
|
|
|
|
block_cipher = None
|
|
|
|
|
|
|
|
a = Analysis(
|
|
|
|
['osx_scripts/onionshare-gui'],
|
|
|
|
pathex=['.'],
|
|
|
|
binaries=None,
|
|
|
|
datas=[
|
|
|
|
('../images/*', 'images'),
|
|
|
|
('../locale/*', 'locale'),
|
|
|
|
('../onionshare/*.html', 'html'),
|
|
|
|
('../version', '.')
|
|
|
|
],
|
|
|
|
hiddenimports=[],
|
|
|
|
hookspath=[],
|
|
|
|
runtime_hooks=[],
|
|
|
|
excludes=[],
|
|
|
|
win_no_prefer_redirects=False,
|
|
|
|
win_private_assemblies=False,
|
|
|
|
cipher=block_cipher)
|
|
|
|
|
|
|
|
pyz = PYZ(
|
|
|
|
a.pure, a.zipped_data,
|
|
|
|
cipher=block_cipher)
|
|
|
|
|
|
|
|
exe = EXE(
|
|
|
|
pyz,
|
|
|
|
a.scripts,
|
|
|
|
exclude_binaries=True,
|
2016-04-10 18:13:38 -04:00
|
|
|
name='onionshare-gui',
|
2016-04-10 17:20:18 -04:00
|
|
|
debug=False,
|
|
|
|
strip=False,
|
|
|
|
upx=True,
|
|
|
|
console=False)
|
|
|
|
|
|
|
|
coll = COLLECT(
|
|
|
|
exe,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
strip=False,
|
|
|
|
upx=True,
|
2016-04-10 18:13:38 -04:00
|
|
|
name='onionshare-gui')
|
2016-04-10 17:20:18 -04:00
|
|
|
|
|
|
|
app = BUNDLE(
|
|
|
|
coll,
|
|
|
|
name='OnionShare.app',
|
|
|
|
icon='install/onionshare.icns',
|
|
|
|
bundle_identifier='com.micahflee.onionshare',
|
|
|
|
info_plist={
|
|
|
|
'NSHighResolutionCapable': 'True'
|
|
|
|
})
|