-
install macholib from subversion (I used r32): http://bit.ly/dzVUqL
-
install py2app from subversion (I used r89): http://bit.ly/9foWrt
-
apply the patch here (by hand or otherwise): http://gist.github.com/331071
-
Download Qt from here (get the cocoa libraries) and install: http://bit.ly/c5wD42
-
Download sip from here: http://bit.ly/9n6ikh. Configure sip with:
python configure.py --arch=i386 --arch=x86_64 make sudo make install
-
Download PyQt4 from here: http://bit.ly/9bk7hH. Configure PyQt4 by running http://gist.github.com/331078
make sudo make install
-
Make your setup.py look something like the following: http://gist.github.com/331080
-
run
python setup.py py2app
-
Edit
dist/msatcommander.app/Contents/Resources/__boot__.py
and add the following within thedef _run(*scripts)
function:sys.path = [os.path.join(os.environ['RESOURCEPATH'], 'lib', 'python2.6', 'lib-dynload')] + sys.path
Created
October 2, 2010 20:38
-
-
Save brantfaircloth/607966 to your computer and use it in GitHub Desktop.
py2app hell, the first
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment