2010-03-01 18:37:10 +00:00
|
|
|
# -*- mode: python -*-
|
|
|
|
a = Analysis([os.path.join(HOMEPATH,'support\\_mountzlib.py'), os.path.join(HOMEPATH,'support\\useUnicode.py'), 'openlp.pyw'],
|
2010-05-24 20:46:45 +00:00
|
|
|
pathex=[os.path.abspath('.')])
|
2010-03-01 18:37:10 +00:00
|
|
|
pyz = PYZ(a.pure)
|
|
|
|
exe = EXE(pyz,
|
|
|
|
a.scripts,
|
|
|
|
exclude_binaries=1,
|
|
|
|
name=os.path.join('build\\pyi.win32\\OpenLP', 'OpenLP.exe'),
|
|
|
|
debug=False,
|
|
|
|
strip=False,
|
|
|
|
upx=True,
|
|
|
|
console=False , icon='resources\\images\\OpenLP.ico')
|
|
|
|
coll = COLLECT( exe,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
strip=False,
|
|
|
|
upx=True,
|
|
|
|
name=os.path.join('dist', 'OpenLP'))
|