1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# -*- mode: python -*-
import sys
block_cipher = None
a = Analysis([os.path.join('bitmask.py')],
hiddenimports=[
'zope.interface', 'zope.proxy',
'PySide.QtCore', 'PySide.QtGui', 'PySide.QtWebKit'],
hookspath=None,
runtime_hooks=None,
excludes=None,
cipher=block_cipher)
pyz = PYZ(a.pure,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
exclude_binaries=True,
name='bitmask',
debug=False,
strip=False,
upx=True,
console=False )
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name='bitmask')
if sys.platform.startswith("darwin"):
app = BUNDLE(coll,
name=os.path.join(
'dist', 'Bitmask.app'),
appname='Bitmask',
version='0.9.2alpha1',
icon='pkg/osx/bitmask.icns',
bundle_identifier='bitmask-0.9.2alpha1')
|