[Pythonmac-SIG] Question about "setup.py build"

Daniel Lord daniellord at mac.com
Wed Jan 24 23:11:45 CET 2007


I admit to being a novice at this yet, but I couldn't find anything  
relevant to this issue on-line:

I am trying to build a version of pysqlite that works with sqllite3 :
1. Apple's installed version doesn't work with the latest so I  
reinstalled
2. sqllite3 won't build shared libs for universal binaries (typical  
of a lot of linux/UNIX build since the developers never have that  
problem except on OS X)
3. so I built Intel-only but....
4. pysqlite keeps trying to build a universal build (CFLAGS="-O -g - 
isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"; etc.  
etc.) with "python setup.py build"
5. But nowhere in the setup.py or setup.cfg  is that set. I  
explicitly unset CFLAGS and LDFLAGS to ensure it wasn't coming from  
there.

So where is it being set? By the Python build? Where? I jsut need a  
little pointer or two and I'll do the rest. Thanks.

Daniel


More information about the Pythonmac-SIG mailing list