hari jayaram wrote:
In my several tests over the last few days. I can definitely say that
without forcing the standalone build , when I used the python from
python.org ( both 2.5.5 and 2.6.3) . py2app never created a standalone
build. It bundles the required libraries but never includes the system
python. That results in bundles that give a wx/_core_.so not dound
error.

This may be a Leopard feature with  the python downloaded from
python.org but without setting semi_standalone:False I never get a
standalone build withuprobably  these pythons and py2app.

If I use the very basic setup.py that Chris Barker mentioned. Then not
only do I not get the python built into the bundle . But the linking
is all messed up and I get the error.

I think those two are the same error -- it's trying to link relative to the python exe.

Anyway, it appears you've found a bug. What I'm not clear on is if it's working OK for anyone else on a 10.6 system -- if so, then I wonder what is different about yours? (sorry to question the obvious again, but are absolutely sure that you are running py2app with the python you think you are?)

This is going to take a bit of debugging. I think Ronald may be the only one that knows the guts of py2app at all, and I don't know if he's got the time, or can even duplicate the problem, so you may need to do it yourself -- or, if you've got something working, maybe not bother!

If you do, try running it in a debugger, or simply sprinkling print statements around, and see if you can see why it's getting confused about when to build stand-alone -- you may try grepping the source for "standalone" or something to find the relevant code.

Last note; even if you do need some of your tricks, you probably don't need to explicitly include wxPython, and certainly not as both "packages" and "includes"

good luck,

-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

Reply via email to