~oaubert/advene/master

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
# -*- python -*-
# pyinstaller specfile
#

advenehome=os.path.dirname(SPECPATH)

a = Analysis(
    [ 
	os.path.join(HOMEPATH, 'support', '_mountzlib.py'), 
	os.path.join(HOMEPATH, 'support', 'useUnicode.py'), 
	os.path.join(advenehome, 'bin', 'advene'),
	],
    pathex=[ os.path.join(advenehome, 'lib') ],
)

pyz = PYZ(a.pure)
exe = EXE(pyz,
          a.scripts,
          exclude_binaries=1,
          name='advene.exe',
          debug=0,
          strip=0,
          upx=1,
          console=1 )

share = Tree(os.path.join(advenehome, 'share'), 
    "share", excludes=[ '.svn', '*bak', '*~' ])

doc = Tree(os.path.join(advenehome, 'doc'),
    "doc",
    excludes=[ 'html', '.svn', '*bak', '*~' ])

coll = COLLECT(exe,
               a.binaries + share + doc,
               strip=0,
               upx=0,
               name='advene-package')