[Pythonmac-SIG] How to get setuptools to build a Universal Binary? [SOLVED!]

Christopher Barker Chris.Barker at noaa.gov
Thu Jan 8 20:51:25 CET 2009


Joe Strout wrote:
> Woot!  I finally got my MySQLdb-using Python app working as a Universal 
> Binary!

glad you got it working -- a couple comments for the record:

> The root cause of most of the trouble was the broken 5.1 MySQL 
> distribution (bug #41940 on the MySQL tracker).

Ned, thanks for posting this bug.


>  I tried patching it up  as Ned suggested, but that didn't work for me.

see my recent post: Building MySqldb for Universal Python

It worked fine for me.

> 3. Reinstalled MySQLdb using the easy method Ned suggested: 
> "easy_install -Z MySQL-python".  This worked fine; all the extra hackery 
> at 
> <http://www.mangoorange.com/2008/08/01/installing-python-mysqldb-122-on-mac-os-x/> 
> appears to be unnecessary when you use easy_install,

Note that easy_install runs the same old "setup.py build" that you do by 
hand - so the bugs that that post corrects are probably fixed in the source.


By the way, I've build a binary universal egg that should be 
re-distributable - please let me know if you want to test it, or have a 
place to host it.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list