forked from openlp/openlp
25 lines
881 B
Plaintext
25 lines
881 B
Plaintext
|
# -*- mode: python -*-
|
||
|
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'), os.path.join(HOMEPATH,'support/useUnicode.py'), '%(openlp_basedir)s/openlp.pyw'],
|
||
|
pathex=['%(pyinstaller_basedir)s'], hookspath=['%(openlp_basedir)s/resources/pyinstaller'])
|
||
|
pyz = PYZ(a.pure)
|
||
|
exe = EXE(pyz,
|
||
|
a.scripts,
|
||
|
exclude_binaries=1,
|
||
|
name=os.path.join('build/pyi.darwin/openlp', 'openlp'),
|
||
|
debug=False,
|
||
|
strip=False,
|
||
|
upx=True,
|
||
|
console=1 )
|
||
|
coll = COLLECT( exe,
|
||
|
a.binaries,
|
||
|
a.zipfiles,
|
||
|
a.datas,
|
||
|
strip=False,
|
||
|
upx=True,
|
||
|
name=os.path.join('dist', 'openlp'))
|
||
|
import sys
|
||
|
if sys.platform.startswith("darwin"):
|
||
|
app = BUNDLE(coll,
|
||
|
name='%(openlp_appname)s.app',
|
||
|
version='%(openlp_version)s')
|