source: trunk/PuzzleboxSynapse.spec @ 353

Last change on this file since 353 was 305, checked in by sc, 9 years ago
  • Packaging preparations for 0.5.1
  • Support for Matplotlib with PySide? backend
File size: 1.4 KB
Line 
1# -*- mode: python -*-
2
3imageformatsTree = Tree("packaging\\win32\\imageformats", "imageformats", [".svn"])
4
5imagesTree = Tree('images', 'images', ['.svn'])
6
7a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), os.path.join(HOMEPATH,'support\\useUnicode.py'), 'synapse-gui.py'],
8             pathex=['C:\\Development\\synapse\\trunk'])
9pyz = PYZ(a.pure)
10
11#for each in imageformatsTree:
12#       each[2] = 'BINARY'
13
14#a.binaries += [("imageformats\\qgif4.dll", "packaging\\win32\\imageformats", 'BINARY')]
15#a.binaries += [("imageformats\\qico4.dll", "packaging\\win32\\imageformats", 'BINARY')]
16#a.binaries += [("imageformats\\qjpeg4.dll", "packaging\\win32\\imageformats", 'BINARY')]
17#a.binaries += [("imageformats\\qmng4.dll", "packaging\\win32\\imageformats", 'BINARY')]
18#a.binaries += [("imageformats\\qsvg4.dll", "packaging\\win32\\imageformats", 'BINARY')]
19#a.binaries += [("imageformats\\qtiff4.dll", "packaging\\win32\\imageformats", 'BINARY')]
20a.binaries += imageformatsTree
21print a.binaries
22
23a.datas += imagesTree
24print a.datas
25
26exe = EXE( pyz,
27          a.scripts,
28          a.binaries,
29          a.zipfiles,
30          a.datas,
31          name=os.path.join('dist', 'PuzzleboxSynapse.exe'),
32          debug=False,
33          strip=False,
34          upx=True,
35          console=False , icon='images\\puzzlebox.ico')
36
37app = BUNDLE(exe,
38             name=os.path.join('dist', 'PuzzleboxSynapse.exe.app'))
39
Note: See TracBrowser for help on using the repository browser.