2014-06-24 17:23:10 -04:00
|
|
|
# -*- mode: python -*-
|
|
|
|
a = Analysis(['setup/onionshare-launcher.py'],
|
|
|
|
hiddenimports=['onionshare', 'onionshare_gui'],
|
|
|
|
hookspath=None,
|
|
|
|
runtime_hooks=None)
|
|
|
|
pyz = PYZ(a.pure)
|
|
|
|
exe = EXE(pyz,
|
|
|
|
a.scripts,
|
|
|
|
exclude_binaries=True,
|
|
|
|
name='onionshare.exe',
|
|
|
|
debug=False,
|
|
|
|
strip=False,
|
|
|
|
upx=True,
|
|
|
|
icon='setup/onionshare.ico',
|
|
|
|
console=False )
|
|
|
|
coll = COLLECT(exe,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
Tree('onionshare', prefix='onionshare'),
|
|
|
|
Tree('onionshare_gui', prefix='onionshare_gui'),
|
2014-06-24 17:42:56 -04:00
|
|
|
[('LICENSE', 'LICENSE', 'DATA')],
|
2014-06-24 17:23:10 -04:00
|
|
|
strip=False,
|
|
|
|
upx=True,
|
|
|
|
name='onionshare')
|