Re: [Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

2011-05-03 Thread Irmen de Jong
On 3-5-2011 8:20, Ronald Oussoren wrote: > > On 3 May, 2011, at 0:32, Irmen de Jong wrote: >> >> >> I'm comfortable with developing in a unix like environment but the >> sysroot/sdk >> stuff of OS X is a bit alien to me. Am I supposed to not touch the SDK >> locations at >> all? So installing

Re: [Pythonmac-SIG] Extension module compile fail, due to isysroot param pointing to sdk without certain headers. Any tips?

2011-05-03 Thread Irmen de Jong
On 3-5-2011 2:43, Ned Deily wrote: > > Try setting the options in the environment variables like CFLAGS and > LDFLAGS, as I mentioned in my previous reply. Then you shouldn't need > to modify setup.py so you can easy_install or pip. > Sorry I missed that, will try it next time. Thanks Irmen

Re: [Pythonmac-SIG] python 2.7 problem with crcmod -- "ImportError: No module named predefined"

2011-05-03 Thread Ronald Oussoren
On 3 May, 2011, at 10:37, Brendan Simon (eTRIX) wrote: > > > On 3/05/11 5:01 PM, Ronald Oussoren wrote: >> The crcmod package contains a module named crcmod. My guess is that >> both py2app and py2exe get confused by this and try to fetch >> 'crcmod.predefined' from the nested module instead of

Re: [Pythonmac-SIG] python 2.7 problem with crcmod -- "ImportError: No module named predefined"

2011-05-03 Thread Brendan Simon (eTRIX)
On 3/05/11 5:01 PM, Ronald Oussoren wrote: > The crcmod package contains a module named crcmod. My guess is that > both py2app and py2exe get confused by this and try to fetch > 'crcmod.predefined' from the nested module instead of the toplevel > package. This basicly means that both py2*s have

Re: [Pythonmac-SIG] python 2.7 problem with crcmod -- "ImportError: No module named predefined"

2011-05-03 Thread Ronald Oussoren
On 3 May, 2011, at 2:07, Brendan Simon (eTRIX) wrote: > > > On 3/05/11 6:18 AM, Ronald Oussoren wrote: >>> I get the following error when trying to run my app when built with py2app >>> and python 2.7. >>> >>> File "crcmod/__init__.pyc", line 7, in >>> ImportError: No module named predefin