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

Christopher Barker Chris.Barker at noaa.gov
Wed Jan 7 22:25:08 CET 2009


Christopher Barker wrote:
> here's mine:
> $ /usr/local/mysql/bin/mysql_config --cflags
> -I/usr/local/mysql/include  -g -Os -arch ppc -fno-common 
> -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ 
> -DIGNORE_SIGHUP_SIGQUIT  -DDONT_DECLARE_CXA_PURE_VIRTUAL
> 
> Darn -- there is an "-arch ppc" in there. However, it may be that 
> distutils still add the "arch i386" who knows?

if it doesn't, you can probably add it yourself with a small edit to 
setup.py


-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