Table of contents
No headers
I finally have a truly Universal build with py2app 0.4.3.
I have confirmed that it works on Intel and Power-PC , tiger , leopard
and snow-leopard.
Here is my protocol, I am repeating it because it took me a while to
get all the bits in place
I am building on Leopard -10.5.8 intel mac
1) I was using python.org python 2.6.3
2) wxpython binary build for 2.6 from wxpython.org
3) Installed all my dependent libraries for the new python 2.6.3 ,
reportlab , yaml and py2app and macholib from subversion (links here
http://www.undefined.org/<wbr/>python/)
4 ) Used the verbose setup.py ( see below)
5) Ran python setup.py py2app
6) I then had to manually create a directory for the Framework inside
the bundle.app/Contents/Frameworks directory
mkdir Python.framework
mkdir Python.framework/Versions
mkdir Python.framework/Versions/2.6
And copy in the Framework build from my disk into the *.app bundle
cp /Library/Frameworks/Python.<wbr/>framework/Versions/2.6/Python
Python.framework/Versions/2.6/
7) The Resulting app bundle was 103 M uncompressed
8) I used DiskUtility to create a dmg file after I moved the *.app
bundle into a new folder . Used the Disk utility command - create -
disk image from folder . The compressed disk image was 33MB
9) Importantly the Disk Image ran on both mac cpu platforms and tiger
, leopard and snow-leopard OSes
I am sure this process can be fine-tuned. But thought I would send this along .