e57956e2dd98e8e36f4192046ade71a8f02dcb1d
[stack/conf/vim.git] / addons / TagHighlight / plugin / TagHighlight / TagHighlight.spec
1 # -*- mode: python -*-
2 # Work out what language files are needed
3 a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), 'TagHighlight.py'],
4         pathex=['.'])
5 version_data = []#[('version_info.txt','data/version_info.txt','DATA')]
6 pyz = PYZ(a.pure)
7 import sys
8 if sys.platform.startswith('win'):
9     exe_name = 'TagHighlight.exe'
10     compile_dir = 'Compiled/Win32'
11 elif sys.platform.startswith('linux'):
12     exe_name = 'TagHighlight'
13     compile_dir = 'Compiled/Linux'
14
15 exe = EXE(pyz,
16         a.scripts,
17         exclude_binaries=1,
18         name=os.path.join('build/', exe_name),
19         debug=False,
20         strip=False,
21         upx=True,
22         console=True )
23 coll = COLLECT( exe,
24         a.binaries,
25         a.zipfiles,
26         a.datas,
27         version_data,
28         strip=False,
29         upx=True,
30         name=compile_dir)
31
32 # vim: ft=python