[Pythonmac-SIG] universal binary installer, take 1

Ronald Oussoren ronaldoussoren at mac.com
Tue Mar 7 19:54:57 CET 2006


On 7-mrt-2006, at 19:06, Ivan Vinogradov wrote:

> Follow-up. (Yes, most answers were staring me in the face. I blame
> the cold medicine.)
>
>> <snip>
>>>    File "/Library/Frameworks/Python.framework/Versions/2.4//lib/
>>> python2.4/distutils/command/build_ext.py", line 442, in
>>> build_extension
>>>      sources = self.swig_sources(sources, ext)
>>> TypeError: swig_sources() takes exactly 2 arguments (3 given)
>>
>>
>> I don't use swig myself, but I do no this is not a part of the code I
>> have touched yet.  I seem to recall that setuptools contains a
>> patch to
>> workaround a simular bug.
>
> This also can be resolved by using Pyrex-0.9.3.1 setup.py install.
> The package at pythonmac.org is Pyrex-0.9.3 .
> The bdist_mpkg is scary smooth in resolving that.

I don't understand why this helps. What does pyrex have to do
with swig?

>
>>> 3) The included $PATH modifier doesn't work.
>
> Scratch this. Now it works fine. I'm just not sure how.

Just after I had updated the script :-). I've also added
"Update Shell Profile.command" to the "/Application/MacPython 2.4"
folder.

I haven't updated the package on my iDisk yet, I'll do that
later.

Ronald

> _______________________________________________
> Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig



More information about the Pythonmac-SIG mailing list