Working now! I upgraded py2app, macholib, modulegraph and altgraph to svn versions (although I found it hard to get the correct svn links... http://mail.python.org/pipermail/pythonmac-sig/2008-July/020251.html)
pyconfig issues are then dealt with correctly. Macports py2app is 0.36, and there is a py2app-devel at 0.42 which requires svn access and I'm behind a firewall that blocks that. Cairo appears to be only available via macports on mac, and I'm not thorough enough to mix bits of different python distributions, so must do everything through one. I had a redundant import from wx.lib.cairo -- (was trying to display generated svg files in a wx window. There were no simple recipes to be found and couldn't justify the time involved when firefox or inkscape can fulfil the function.) Without that import, everything is fine. On Fri, 2009-09-25 at 06:06 +1000, Ned Deily wrote: > In article <4abbc381.4090...@noaa.gov>, > Christopher Barker <chris.bar...@noaa.gov> wrote: > > Ned Deily wrote: > > >> It's not included in the .dmg for Python 2.6. > > > Now I'm really confused :=) I've just installed from the final > > > python.org 2.6, 2.6.1, and 2.6.2 install.dmgs and, for me, each one > > > installed what appears to be an appropriate file. For example: > > Well, I'm not using 2.6 yet, but with 2.5, my problem was that py2app > > didn't copy pyconfig.h into the bundle, and that I gues setuptools was > > looking for it. > > Just for the record, I don't think this particular issue has anything > directly to do with either setuptools or python2.6. IIUC, pyconfig.h is > needed for any packages (packaged with standard *distutils*) that > include any C extension modules. From a quick glance at the py2app > code, it looks like, prior to r65, py2app did not copy pyconfig.h at > all. That wouldn't lead to problems until you tried to install a C > extension module. > > -- > Ned Deily, > n...@acm.org > > _______________________________________________ > Pythonmac-SIG maillist - Pythonmac-SIG@python.org > http://mail.python.org/mailman/listinfo/pythonmac-sig ___________________________________________________________________________ Australian Antarctic Division - Commonwealth of Australia IMPORTANT: This transmission is intended for the addressee only. If you are not the intended recipient, you are notified that use or dissemination of this communication is strictly prohibited by Commonwealth law. If you have received this transmission in error, please notify the sender immediately by e-mail or by telephoning +61 3 6232 3209 and DELETE the message. Visit our web site at http://www.antarctica.gov.au/ ___________________________________________________________________________ _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig