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.
The core problem is two-fold:
1) setuptools does all sorts of nifty stuff that really make no sense in
a bundled application, but I don't think there are any hooks in it to
disable or grcefuly fail when bundled -- hmmm, maybe that's an idea for
a patch, though honestly, I'll never get around to it!
Also, I don't think a lot of this should be done at run time at all --
checking if the installed package version is correct, for instance, but
that's how a lot of folks use setuptools.
2) py2app is not setuptools aware at all. Unfortunately, it seems the
way to make it aware is kind of to punt: if there is an egg involved,
copy the whole darn thing in, 'cause there is no way to know what's
really needed!
-rw-rw-r-- 1 root admin 30696 Apr 16 00:29
/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pycon
fig.h
By the way, I'm not using 2.6, but I have installed it, and I have
pyconfig.h also, so I'm not sure what the OP's issue was.
-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.bar...@noaa.gov
_______________________________________________
Pythonmac-SIG maillist - Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig