There is something wrong (perhaps in my understanding) with the Mac OS
bundle step. Below is my build script.
What this creates in dist, whether I specify -F or -D, is two things:
a directory ppqt containing all the needed files, and also an app
bundle PPQT containing:
Contents
Frameworks (empty)
info.plist
MacOS
ppqt (the python executable apparently)
Resources (empty)
Launching this app has no effect, not surprising as all the needed
support files are elsewhere.
What am I not getting, here? Build script:
# -*- mode: python -*-
a = Analysis([os.path.join(HOMEPATH,'support/_mountzlib.py'),
os.path.join(CONFIGDIR,'support/useUnicode.py'), 'ppqt.py'],
pathex=['/Users/original/Documents/Dprojects/PPQT'])
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
exclude_binaries=1,
name=os.path.join('build/pyi.darwin/ppqt', 'ppqt'),
debug=False,
strip=None,
upx=True,
console=True )
coll = COLLECT( exe,
a.binaries,
a.zipfiles,
a.datas,
strip=None,
upx=True,
name=os.path.join('dist', 'ppqt'))
import sys
if sys.platform.startswith("darwin"):
app = BUNDLE(exe,
name=os.path.join('dist', 'PPQT.app'),
version='0.1.0')
--
You received this message because you are subscribed to the Google Groups
"PyInstaller" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pyinstaller?hl=en.