-
Notifications
You must be signed in to change notification settings - Fork 8
/
vixen.spec
53 lines (48 loc) · 1.34 KB
/
vixen.spec
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# -*- mode: python -*-
block_cipher = None
import sys
import os
import jigna
app_dir_name = 'vixen_app'
JIGNA_DIR = os.path.join(os.path.dirname(jigna.__file__), 'js', 'dist')
added_files = [
('vixen/html', 'vixen_data/html'),
(JIGNA_DIR, 'jigna/js/dist'),
('docs/build/html', 'vixen_data/docs/html')
]
a = Analysis(['vixen/cli.py'],
pathex=[os.path.abspath(os.getcwd())],
binaries=None,
datas=added_files,
hiddenimports=[],
hookspath=[],
runtime_hooks=[],
excludes=['PySide', 'wx', 'PyQt4'],
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,
name='vixen',
debug=False,
strip=False,
upx=True,
console=False,
icon=os.path.join('installer', 'vixen.ico')
)
coll = COLLECT(exe,
a.binaries,
a.zipfiles,
a.datas,
strip=False,
upx=True,
name=app_dir_name)
if sys.platform.startswith('darwin'):
app = BUNDLE(coll,
name='ViXeN.app',
icon=os.path.join('installer', 'vixen.icns'),
bundle_identifier=None)