Keeyai.com

Blogging to save the day

Sprial - A fractal flame by Keeyai

Building CX_Freeze on the Mac

July 2nd, 2010 · No Comments · KRead This Article!

This isn’t my info — it is from the SourceForge mailing list — but it is so damn helpful that I wanted to re-post it in case it helps someone find it in the future.

Where I originally saw it: http://www.mail-archive.com/cx-freeze-users@lists.sourceforge.net/msg00334.html

I had to make the following changes to get cx_Freeze to work on the Mac

Before building

change ldd in freezer.py to otool -L
mkdir -p Python.framework/Versions/2.6/
ln -s /Library/Frameworks/Python.framework/Versions/2.6/Python
Python.framework/Versions/2.6/

Before running a built executable

mkdir /lib /include
ln -s /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
/lib/python2.6
ln -s /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
/include/python2.6

Jeffery G. Smith
MedPlus, A Quest Diagnostics Company | Senior SCM Specialist | 4690 Parkway
Drive | Mason, OH 45040 USA | phone +1.513.204.2601 | fax +1.513.229.5505 |
mobile +1.513.335.1517 | jsm…@medplus.com | www.MedPlus.com

Categories: Uncategorized

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

You must log in to post a comment.